RCE (Remote code execution) in one of DoD's websites
The target ran a vulnerable version of PrimeFaces (5.x) that has a weak encryption flaw, allowing remote code execution. The reporter proved it by running a single command on the server.
- Triaged in 4 hours
- Fixed in 13 days
- Disclosed after 3 months
Summary: The targeted website is vulnerable to CVE-2017-1000486, by only running command was (whoami) to prove that the RCE exist has been run successfully on the target Description: The target uses a vulnerable version of primefaces : Primetek Primefaces 5.x, that is vulnerable to a weak encryption flaw resulting in remote code execution
Impact
Critical
Step-by-step Reproduction Instructions
Using the following exploit : https://github.com/pimps/CVE-2017-1000486
- python primefaces.py████████/
Product, Version, and Configuration (If applicable)
Primefaces 5.3.6
Suggested Mitigation/Remediation Actions
Primefaces has to be updated to a newer version
Impact
An attacker could execute remote codes on the target system, that could impact all of the CIA triad
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 application used an outdated PrimeFaces library with a known weak encryption implementation that permits remote code execution.
Impact
An attacker could execute remote code on the target system, affecting confidentiality, integrity and availability.
What the attacker needed
Target runs vulnerable PrimeFaces 5.x; network access to the target
The fix
PrimeFaces should be updated to a newer version.
How it was found
- Use the public exploit script for the PrimeFaces vulnerability.
- Run the script against the target URL to execute a command.
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.
PrimeFaces is a component used in Java web applications. An old version had a flaw where its encryption was too weak, so an attacker could send crafted data that the server would decrypt and act on, letting them run their own commands on the server. The reporter only ran a harmless command to show it worked.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.