Skip to content
RCE Advisory Advanced CVE-2018-7125

(0Day) Hewlett Packard Enterprise Intelligent Management Center PrimeFaces Expression Language Injection Remote Code Execution Vulnerability

The PrimeFaces endpoint in HPE Intelligent Management Center fails to validate the pfdrid parameter, allowing an unauthenticated attacker to inject expression language and execute arbitrary code as SYSTEM.

Matthias Kaiser Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Hewlett Packard Enterprise Intelligent Management Center. Authentication is not required to exploit this vulnerability.

Matthias Kaiser and Steven Seeley of Incite Team (Source Incite), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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 PrimeFaces endpoint fails to sanitise the pfdrid parameter before using it in expression language evaluation, leading to code execution.

Impact

An unauthenticated remote attacker could execute arbitrary code with SYSTEM privileges on the vulnerable installation.

What the attacker needed

Network access to the service; no authentication required

The fix

The vulnerability was not patched by the vendor; the only mitigation is to restrict network access to the service to trusted machines using firewall rules or whitelisting.

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.

This is a flaw in a web application component called PrimeFaces. The application takes a value from the URL (the pfdrid parameter) and uses it without checking it properly, so an attacker can insert special code that the server then runs. Because the server runs with high privileges, the attacker can take full control of the machine.

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 Matthias Kaiser

View all

82 more disclosed reports, best first.

More from Zero Day Initiative

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.