Arbitrary file upload in Jnoj Jiangnan Online Judge

CVE-2019-17490

app\modules\polygon\controllers\ProblemController in Jiangnan Online Judge (aka jnoj) 0.8.0 allows arbitrary file upload, as demonstrated by PHP code (with a .php filename but the image/png content type) to the web/polygon/problem/tests URI.

Vulnerability class: Unrestricted File Upload

EPSS: 0.015 (71.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-17490?
CVE-2019-17490 is a high-severity vulnerability in Jnoj Jiangnan Online Judge, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2019-10-10.
How severe is CVE-2019-17490?
High severity. CVSS v3 base score is 8.8 out of 10.