RCE in ██████ subdomain via CVE-2017-1000486
The application ran an outdated version of the PrimeFaces library that is affected by a known deserialisation flaw, allowing an unauthenticated attacker to run commands on the server. The reporter demonstrated command execution as the tomcat user using a public proof-of-concept tool.
- Triaged in 11 hours
- Fixed in 3 months
- Disclosed after 3 months
Summary: The application at ████████/ftn-Website/ uses primefaces 5.3 but not 5.3.8, making it vulnerable to unauthenticated RCE CVE-2017-1000486.
Step-by-step Reproduction Instructions
- Get the publicly available POC for this vulnerability here: https://github.com/pimps/CVE-2017-1000486
- Execute:
python primefaces.py ███/ftn-Website/ -c id - Success:
uid=91(tomcat) gid=91(tomcat) groups=91(tomcat) context=system_u:system_r:tomcat_t:s0
Product, Version, and Configuration (If applicable)
primefaces 5.3
Suggested Mitigation/Remediation Actions
Update primefaces.
Impact
An unauthenticated, 3rd-party attacker or adversary can execute remote code on restsvr1.ftn.research.usafa.edu as the unix tomcat user. Note that this service uses a DoD IP, suggesting an attacker could potentially pivot elsewhere afterwards.
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 outdated PrimeFaces library (5.3 rather than a patched release) containing a known unsafe deserialisation flaw.
Impact
An unauthenticated attacker could execute remote code on the server as the tomcat user, and the reporter suggests the host could potentially be used to pivot further.
What the attacker needed
Network access to the target path; public PoC tool
The fix
The library should be updated to a patched version.
How it was found
- Obtain the public proof-of-concept tool for the vulnerability.
- Run the tool against the target path with a command to execute.
- Observe the command output confirming code execution as the tomcat user.
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 helper library for Java web apps. An old version of it had a flaw where a specially crafted request could make the server run code chosen by the attacker, without needing to log in. Here the tester used a ready-made tool to show that a simple command ran on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.