Planet WGR-500 formPingCmd OS command injection vulnerabilities
The router's ping test function builds a shell command from user-supplied ipaddr and counts parameters without validation, allowing an authenticated attacker to inject arbitrary OS commands. This could lead to full command execution on the device.
Originally disclosed on Cisco Talos
Multiple OS command injection vulnerabilities exist in the formPingCmd functionality of Planet WGR-500 v1.3411b190912. A specially crafted series of HTTP requests 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
Impact
An authenticated attacker could execute arbitrary commands on the router, potentially compromising the device fully.
What the attacker needed
Authenticated access to the router's 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 has a web page that lets you ping another computer. When you type in an address, the router runs a system command using that text without checking it. An attacker can add extra commands to the address, and the router will run them, giving the attacker control over the device.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.