Reflected XSS on a DoD website
A reflected cross-site scripting vulnerability was found on a Department of Defense website. An attacker could craft a specially formatted URL that, when visited, may execute a malicious script and potentially reveal a user's web session information or modify web content.
Originally disclosed on HackerOne
- Triaged in 8 hours
- Fixed in 3 months
- Disclosed after 3 months
Summary by the program
A 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. @juliocesar was able to demonstrate this vulnerability by crafting a specially formatted URL. Thanks @juliocesar!
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 reflected user-supplied input from the URL into the page without proper encoding or validation.
Impact
An attacker could trick a user into executing a malicious script, which may reveal the user's web session information or allow modification of web content.
What the attacker needed
Victim clicks a crafted link
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.
Cross-site scripting (XSS) is a flaw where a website takes something from a URL and puts it into the page without cleaning it first. An attacker can make a link that contains a small script; if a victim clicks it, the script runs in the victim's browser as if the website itself had sent it. That can let the attacker read the victim's session or change what the page shows.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.