Stored cross-site scripting (XSS) on a DoD website
A stored cross-site scripting vulnerability existed on a Department of Defense website, allowing an attacker to craft a specially formatted URL that could execute a malicious script. This could trick a user into revealing session information or modifying web content.
Originally disclosed on HackerOne
- Triaged in 22 hours
- Fixed in 3 months
- Disclosed after 4 months
Summary by the program
A stored cross-site scripting vulnerability was found on a Department of Defense website which may trick a web user into executing a malicious script, potentially revealing a user's web session information or modify web content. @jon_bottarini was able to demonstrate this vulnerability by crafting a specially formatted URL. Thanks @jon_bottarini!
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 website stored user-supplied input and later rendered it without proper output encoding or sanitisation.
Impact
An attacker could trick a user into executing a malicious script, potentially revealing the user's web session information or modifying web content.
What the attacker needed
Victim clicks a crafted URL
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.
XSS is a flaw where a site shows user content without cleaning it, so a script can run in a victim's browser. Here the script was stored on the site. It could steal the victim's session or change the page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.