HTML injection vulnerability on a DoD website
An HTML injection vulnerability existed on a Department of Defense website, allowing an attacker to craft a specially formatted URL that could trick a user into viewing modified web content. This could potentially reveal the user's web session information or other sensitive information.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 4 months
- Disclosed after 4 months
Summary by the program
An HTML injection vulnerability was found on a Department of Defense website which may have been used to trick a web user into viewing modified web content, potentially revealing a user's web session information, or other sensitive information. @kunal_khubchandani was able to demonstrate this vulnerability by crafting a specially formatted URL.
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 failed to properly sanitise user-supplied input before including it in HTML output.
Impact
An attacker could potentially trick a user into viewing modified web content and may reveal the user's web session information or other sensitive information.
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.
HTML injection is when a website takes input from a user and puts it into a web page without cleaning it first. An attacker can use this to insert their own HTML code, which can change what the page shows or trick the user. Here, the attacker made a special link that, when clicked, would show modified content and might steal information about the user's session.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.