(0Day) Hewlett Packard Enterprise Intelligent Management Center reportTaskSelect Expression Language Injection Remote Code Execution Vulnerability
The reportTaskSelect.xhtml endpoint fails to validate the beanName parameter before using it to render a page, allowing expression language injection. A remote attacker who bypasses authentication could execute arbitrary code as SYSTEM.
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 beanName request parameter is passed into an expression language evaluation without validation or escaping, so user input is executed as code.
Impact
An attacker could execute arbitrary code on the server in the context of the SYSTEM account, though authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the service; bypass of the authentication mechanism
The fix
No patch was available at disclosure; the vendor said it planned to address the issue in the next release, and the only suggested mitigation is restricting access to trusted machines with 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 is treated as code rather than plain text. Because of that, someone sending a crafted request can make the server run their own instructions. The report says the attacker first has to get past the login, but that this can be done.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.