Lantronix PremierWave 2050 Web Manager Diagnostics: Traceroute OS command injection vulnerability
The Web Manager Diagnostics Traceroute feature builds a shell command from an unvalidated HTTP parameter, allowing an authenticated user to run arbitrary commands as root. An attacker with valid credentials could execute commands on the device.
Originally disclosed on Cisco Talos
An OS command injection vulnerability exists in the Web Manager Diagnostics: Traceroute 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 application inserts the attacker-controlled 'protocol' parameter directly into a shell command string without validating it against the expected values.
Impact
An authenticated user could execute arbitrary commands with root privileges on the device.
What the attacker needed
Valid credentials for the web manager; network access to the device
How it was found
- Send an authenticated HTTP POST request to the device's web manager.
- Include the Traceroute action and a crafted protocol value containing shell metacharacters.
- The device builds and executes a traceroute command that includes the injected value, running the extra commands as root.
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 takes a value from a web form and pastes it straight into a command it runs on the underlying operating system. Because special characters in that value are not cleaned, someone can add extra commands that the device then runs with full administrator rights.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.