(0Day) Hewlett Packard Enterprise Intelligent Management Center templateSelect Expression Language Injection Remote Code Execution Vulnerability
The templateSelect.xhtml endpoint fails to validate the beanName parameter before using it to render a page, allowing an authenticated attacker to inject expression language and execute arbitrary code. Authentication can be bypassed, so a remote attacker could run code as SYSTEM.
Originally disclosed on Zero Day Initiative
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.
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 evaluates the beanName parameter as an expression language expression without sanitising it, leading to server-side template injection.
Impact
An attacker could execute arbitrary code with SYSTEM privileges, but authentication is required and must first be bypassed.
What the attacker needed
Authentication bypass; network access to the service
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 where a user-supplied value is inserted into a page template without being checked. An attacker can craft a special value that the server interprets as code, letting them run commands on the machine. The attacker first needs to get past login, but the report says that is possible.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.