{"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-07-08T20:31:11.173849Z","published":"2018-09-02T22:29:01.257Z","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":{"source":"CPE_STRING","cpe":"cpe:2.3:a:qduoj:onlinejudge:2.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0"},{"last_affected":"2.0"}]}}],"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.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}