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

XSS due to CVE-2020-3580 [███.mil]

A reflected cross-site scripting vulnerability existed in the SAML authentication endpoint of a Cisco ASA/FTD web services interface, allowing an attacker to inject script via a crafted SAMLResponse parameter. An attacker could persuade a user to click a link and execute arbitrary script in the context of the affected interface, potentially accessing browser-based information such as cookies.

fdeleite Follow

Originally disclosed on HackerOne

  • Triaged in 14 hours
  • Fixed in 22 days
  • Disclosed after 25 days

Multiple vulnerabilities in the web services interface of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to conduct cross-site scripting (XSS) attacks against a user of the web services interface of an affected device.

Steps To Reproduce

Go to this URL

██████████████.mil.html

HTML POC:

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

Impact

  • 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.

Supporting Material References https://www.exploit-db.com/exploits/47988 https://twitter.com/sagaryadav8742/status/1275170967527006208

The original report as published on HackerOne, by fdeleite. 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 was reflected into the page without proper output encoding, allowing HTML injection.

Impact

An attacker could execute arbitrary script in the context of the interface or access sensitive browser-based information, but only for specific AnyConnect and WebVPN configurations.

What the attacker needed

Victim clicks a crafted link; specific AnyConnect or WebVPN configuration

How it was found

  1. Open the provided HTML proof-of-concept file in a browser.
  2. The page automatically submits a form to the target SAML endpoint with a malicious SAMLResponse value.
  3. The injected SVG onload handler is intended to execute in the context of the target site.

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.

Here, a crafted link could run code in the victim's browser and read things like cookies.

What is XSS?

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

More by fdeleite

View all

18 more disclosed reports, best first.

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.