Server-side include injection vulnerability in a DoD website
A Department of Defense website was vulnerable to server-side include injection, allowing an attacker to inject code into HTML pages and potentially achieve remote code execution. The reporter demonstrated this by crafting a specially formatted URL.
- Triaged in 18 hours
- Fixed in 5 months
- Disclosed after 6 months
Summary by the program
A Department of Defense website was vulnerable to a Server-Side Include Injection attack which could have allowed an attacker to inject code into HTML pages or, under some circumstances, perform remote code execution. @jutsuce was as able to demonstrate this vulnerability by crafting a specially formatted URL. Thank you for notifying us!
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 web server passed user-supplied input to a server-side include directive without proper validation or sanitisation.
Impact
An attacker could inject code into HTML pages and, under some circumstances, perform remote code execution.
What the attacker needed
None
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.
Server-side include injection is a flaw where a web server processes user input as an include directive. This can let an attacker add content to pages or, in some cases, run code. The report shows someone proved this with a special web address.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.