Remote Code Execution (RCE) in a DoD website
A remote code execution vulnerability existed on a DoD website, allowing an attacker to run commands on the web server. The researcher demonstrated it by crafting a script that made the server execute a harmless command.
Originally disclosed on HackerOne
- Triaged in 7 days
- Fixed in 21 days
- Disclosed after 37 days
Summary by the program
A remote code execution (RCE) vulnerability was found on a DoD website which could have enabled an attacker to execute remote commands on the web server. @joaomatosf, was able to demonstrate this vulnerability by developing a custom script that caused the webserver to execute a benign command. This was a very clever demonstration. Thanks @joaomatosf, and well done!
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 an input handling flaw that let attacker-supplied data reach a command execution function without proper sanitisation.
Impact
An attacker could execute remote commands on the web server.
What the attacker needed
None stated
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.
Remote code execution means an attacker can make the server run their own commands, like typing into a terminal on that machine. Here, the researcher showed this by getting the server to run a harmless command, proving the flaw was real.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.