Path Traversal in Qduoj Onlinejudge

CVE-2018-16367

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.022 (80.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)

Frequently asked questions

What is CVE-2018-16367?
CVE-2018-16367 is a critical-severity vulnerability in Qduoj Onlinejudge, classified under Path Traversal. CVSS score: 9.9/10. Published 2018-09-02.
How severe is CVE-2018-16367?
Critical severity. CVSS v3 base score is 9.9 out of 10.