MC Technologies MC LR Router web interface I/O configuration OS command injection vulnerabilities
Three OS command injection vulnerabilities exist in the web interface I/O configuration of MC Technologies MC LR Router 2.10.5. An authenticated attacker can send a crafted HTTP request to execute arbitrary commands with root privileges.
Originally disclosed on Cisco Talos
Three OS command injection vulnerabilities exist in the web interface I/O configuration functionality of MC Technologies MC LR Router 2.10.5. 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
User input from three HTTP parameters is passed unsanitised into OS commands executed via system() with root privileges.
Impact
An authenticated attacker could execute arbitrary commands with root privileges, leading to full compromise of the device.
What the attacker needed
Authenticated access to the web interface
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 router's web interface takes user input from certain form fields and passes it directly to system commands without checking it. An attacker who is logged in can insert extra commands that the router then runs as the root user, giving them 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.