Cross-site request forgery vulnerability on a DoD website
A Department of Defense website lacked protection against cross-site request forgery, allowing an attacker to craft a webpage that tricks a logged-in user into submitting or altering sensitive information. The attacker could redirect that information to themselves.
- Triaged in 3 days
- Fixed in 2 months
- Disclosed after 3 months
Summary by the program
A cross-site request forgery vulnerability was found on a Department of Defense website which could trick a web user into posting or changing confidential information, or redirecting sensitive information to the malicious user. @korprit was able to demonstrate this vulnerability by crafting a specially formatted webpage. Thanks @korprit!
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 site accepted state-changing requests without a CSRF token or other origin check, so a browser could be tricked into sending them with the victim's cookies.
What the attacker needed
Victim is logged in to the DoD site; victim visits attacker's crafted page
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.
CSRF is when a malicious page makes your browser send a request to a site where you are logged in, without you meaning to. Here, an attacker built a page that could trick a user into posting or changing data on a government site.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.