Skip to content
RCE Advisory Advanced CVE-2019-5343

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

The compareFilesResult.xhtml endpoint of HPE Intelligent Management Center fails to validate the user-supplied beanName parameter before using it to render a page, allowing expression language injection. A remote attacker who bypasses the existing authentication could execute arbitrary code as SYSTEM.

Matthias Kaiser Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Hewlett Packard Enterprise Intelligent Management Center. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

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

Impact

An attacker could execute arbitrary code on the server in the context of the SYSTEM account, though the text notes authentication is required and that the existing authentication mechanism can be bypassed.

What the attacker needed

Network access to the service; authentication bypass (per the text)

The fix

No patch was available at disclosure; the vendor's only suggested mitigation was to restrict 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 software builds web pages from templates, and one of the values it takes from the request (beanName) is placed into the template without being checked. Because the template engine also understands small expressions that can run code, an attacker who can reach the page can make the server run their own commands. The report says the attacker must be logged in, but that the login check can be bypassed.

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.