Skip to content
RCE Disclosed report Intermediate

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.

jutsuce Follow

Originally disclosed on HackerOne

  • 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!

The original report as published on HackerOne, by jutsuce. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by jutsuce

View all

2 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.