(0Day) Hewlett Packard Enterprise Intelligent Management Center perfSelectTask Expression Language Injection Remote Code Execution Vulnerability
The perfSelectTask.xhtml endpoint fails to validate the user-supplied beanName parameter before using it to render a page, allowing expression language injection. An attacker could exploit this to execute arbitrary code as SYSTEM, though authentication is required and the existing authentication mechanism can be bypassed.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hewlett Packard Enterprise Intelligent Management Center. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 application passes the beanName parameter into an expression language template without validating or sanitising it, so injected expressions are evaluated server-side.
Impact
An attacker could execute arbitrary code in the context of SYSTEM, although authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the service; authentication bypass; trusted-network restriction lifted
The fix
The vendor planned to address the issue in a later release, but no patch was available at disclosure; the only suggested mitigation is to restrict access to the service to trusted machines via 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 a template, and one input (the beanName parameter) is placed into that template without being checked. Because the template engine treats special syntax as instructions, an attacker can slip in their own instructions and make the server run them. The result is that the attacker's code runs on the server with high privileges.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.