PT-2019-15195
CVE-2019-17537
·
Published
2019-10-13
·
Updated
2019-10-17
Description by
CVSS 3.1
7.5
HighMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾