(0Day) D-Link DIR-X3260 SetTriggerPPPoEValidate Username Command Injection Remote Code Execution Vulnerability
A command injection flaw in the D-Link DIR-X3260 router's prog.cgi allows network-adjacent attackers to execute arbitrary code as root, despite authentication being required, because the authentication mechanism can be bypassed. The vulnerability stems from improper validation of a user-supplied string before it is used in a system call.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-X3260 routers. 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
Impact
An attacker on the local network could execute arbitrary code with root privileges on the router, potentially leading to full compromise.
What the attacker needed
Network-adjacent access; authentication bypass
The fix
The vendor did not provide a fix; the only mitigation is to restrict interaction with the application.
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 in a home router. The router takes input from a web request and passes it to a system command without checking it properly, so an attacker can sneak in extra commands. Because the router runs those commands with the highest privileges (root), the attacker can take full control of 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.