(0Day) Hewlett Packard Enterprise Intelligent Management Center sshConfig Expression Language Injection Remote Code Execution Vulnerability
The sshConfig.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 authentication could execute arbitrary code with SYSTEM privileges.
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
The sshConfig.xhtml endpoint passes the user-controlled beanName parameter into page rendering without validating it, allowing expression language injection.
Impact
An attacker could execute arbitrary code in the context of SYSTEM, though authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the service; authentication bypass
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 those templates takes a value from the user called beanName. The program puts that value straight into the page-building process without checking it, so an attacker can slip in special expression syntax that the server then runs as code. Because the server runs with high privileges, the attacker's code runs with those same 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.