███████ - XSS - CVE-2020-3580
The Cisco ASA VPN SAML service is vulnerable to reflected cross-site scripting via a POST request to a specific endpoint. An attacker could steal users' cookies or redirect them to a malicious website.
- Triaged in 18 hours
- Fixed in 2 months
- Disclosed after 3 months
████ appears to be affected by the Cisco ASA XSS CVE-2020-3580, This vulnerablity is targets the saml service within the VPN. It is triggered via a POST request to /+CSCOE+/saml/sp/acs?tgname=a
References
Impact
With this vulnerability, an attacker can for example steal users cookies or redirect users on malicious website.
System Host(s)
██████████
Affected Product(s) and Version(s)
Cisco ASA
CVE Numbers
CVE-2020-3580
Steps to Reproduce
send a POST request from browser:
POST /+CSCOE+/saml/sp/acs?tgname=a HTTP/1.1 Host: █████ Connection: close sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91" sec-ch-ua-mobile: ?0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9 Content-Length: 40
SAMLResponse="><svg/onload=alert('xss')>
Suggested Mitigation/Remediation Actions
Patch Cisco ASA : https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-xss-multiple-FCB3vPZe
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the SAML assertion consumer endpoint reflects user-supplied input into the HTML response without proper encoding or validation.
Impact
An attacker could steal users' cookies or redirect them to a malicious website.
What the attacker needed
Target runs vulnerable Cisco ASA
The fix
The Cisco ASA should be patched as per the vendor advisory.
How it was found
- Send a POST request to the SAML assertion consumer endpoint with a crafted SAMLResponse parameter.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is a flaw where a website inserts untrusted input into a page without proper cleaning, so the input runs as code in the victim's browser. Here, the VPN's SAML login endpoint echoes back a crafted value, letting an attacker run JavaScript in the context of the VPN page. That script could read cookies or send the user elsewhere.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.