PT-2019-15166

CVE-2019-17490

·

Published

2019-10-10

·

Updated

2019-10-16

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Jiangnan Online Judge (aka jnoj) version 0.8.0
Description The issue allows for arbitrary file upload. This can be achieved by uploading PHP code with a .php filename but setting the content type to image/png, and sending it to the "web/polygon/problem/tests" API endpoint.
Recommendations For Jiangnan Online Judge (aka jnoj) version 0.8.0, consider disabling the file upload functionality in the ProblemController until a patch is available. Restrict access to the "web/polygon/problem/tests" API endpoint to minimize the risk of exploitation. Avoid allowing uploads with mismatched file extensions and content types.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾