PT-2019-15196 · Jnoj · Jiangnan Online Judge

Published

2019-10-13

·

Updated

2019-10-17

·

CVE-2019-17538

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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, enabling file reading via a specific substring in the "web/polygon/problem/viewfile" endpoint, such as "id=1&name=../".
Recommendations For version 0.8.0, as a temporary workaround, consider restricting access to the "web/polygon/problem/viewfile" endpoint until a patch is available. Avoid using the name parameter with relative paths (e.g., "../") 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

CVE-2019-17538

Affected Products

Jiangnan Online Judge