{"id":"CVE-2018-16367","details":"In OnlineJudge 2.0, the sandbox has an incorrect access control vulnerability that can write a file anywhere. A user can write a directory listing to /tmp, and can leak file data with a #include.","modified":"2026-10-20T10:49:52.423004167Z","published":"2018-09-02T22:29:01.257Z","database_specific":{},"references":[{"type":"REPORT","url":"https://github.com/QingdaoU/OnlineJudge/issues/165"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qingdaou/onlinejudge","events":[{"introduced":"bab289d6527acbb7a80782b9c562bdff59c230ee"},{"last_affected":"bab289d6527acbb7a80782b9c562bdff59c230ee"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:qduoj:onlinejudge:2.0:*:*:*:*:*:*:*","range":[{"introduced":"2.0"},{"last_affected":"2.0"}],"source":"CPE_STRING"}]}}],"versions":["2.0","beta-2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16367.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}