Hewlett Packard Enterprise OneView startUpgradeCommon Command Injection Local Privilege Escalation Vulnerability
The startUpgradeCommon method in HPE OneView fails to validate a user-supplied string before passing it to a system call. A local attacker who can already run low-privileged code, or reach a local HTTP service, could use this to run arbitrary commands as root.
This vulnerability allows local attackers to escalate privileges code on affected installations of Hewlett Packard Enterprise OneView. An attacker must first obtain the ability to execute low-privileged code on the target system or send an HTTP request to a local service in order to exploit this vulnerability.
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 startUpgradeCommon method builds a shell command from unvalidated user input, allowing command injection.
Impact
An attacker with low-privileged access could escalate to root and execute arbitrary code.
What the attacker needed
Low-privileged code execution on target; or access to a local HTTP service
The fix
HPE issued an update to correct the vulnerability.
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.
Some programs run operating system commands on your behalf. If they build those commands from text a user can influence, and do not check that text, an attacker can sneak in extra commands. Here the attacker needs a foothold on the machine first, but then can take full control as the root user, the most powerful account.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.