Lantronix PremierWave 2050 Web Manager Diagnostics: Ping OS command injection vulnerability
The Web Manager Diagnostics Ping feature builds a shell command from an unsanitised host parameter, allowing an authenticated user to inject OS commands. An attacker could execute arbitrary commands with root privileges.
Originally disclosed on Cisco Talos
An OS command injection vulnerability exists in the Web Manager Diagnostics: Ping functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to arbitrary command execution.
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 host parameter is inserted directly into a shell command string without sanitisation, allowing shell metacharacters to break out and execute arbitrary commands.
Impact
An authenticated attacker could execute arbitrary OS commands with root privileges, leading to full compromise of the device.
What the attacker needed
Authenticated access to Web Manager
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.
The device's ping tool takes a hostname from the user and passes it to a system command without cleaning it. By adding special shell characters, an attacker can make the device run extra commands. Since the command runs as root, the attacker gains full control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.