Skip to content
RCE Advisory Advanced CVE-2023-44421

(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.

Nicholas Zubrisky Follow

Originally disclosed on Zero Day Initiative

High 8.0 View original

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.

Nicholas Zubrisky, on the Zero Day Initiative

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.

More by Nicholas Zubrisky

View all

26 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.