PT-2019-15195 · Jnoj · Jiangnan Online Judge
Published
2019-10-13
·
Updated
2019-10-17
·
CVE-2019-17537
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Jiangnan Online Judge (aka jnoj) version 0.8.0
Description
The issue allows for Directory Traversal, which can be exploited for file deletion. This is achieved through a specific substring in the "web/polygon/problem/deletefile" API endpoint, specifically by manipulating the
id and name parameters with a ../ substring.Recommendations
For version 0.8.0, as a temporary workaround, consider restricting access to the "web/polygon/problem/deletefile" API endpoint until a patch is available. Avoid using the
name parameter with ../ substring in the affected endpoint to minimize the risk of exploitation.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jiangnan Online Judge