Skip to content
RCE Advisory Advanced CVE-2023-50274

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.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

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.

Anonymous, on the Zero Day Initiative

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.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.