Hewlett Packard Enterprise StoreOnce VSA setLocateBeaconOnHardware Command Injection Remote Code Execution Vulnerability
The setLocateBeaconOnHardware method fails to validate a user-supplied string before using it in a system call, allowing command injection. An attacker who bypasses authentication can execute arbitrary code as root.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hewlett Packard Enterprise StoreOnce VSA. 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 setLocateBeaconOnHardware method passes a user-supplied string directly to a system call without sanitisation or validation.
Impact
An attacker could execute arbitrary code with root privileges, but authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Authentication bypass; access to the vulnerable method
The fix
Hewlett Packard Enterprise has issued an update to correct this 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.
This is a command injection bug: a program takes text from a user and passes it to the operating system as a command without checking it. An attacker can add extra commands to that text, and the system runs them with high privileges (root). The report says the attacker must first get past authentication, but that protection can be bypassed.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.