D-Link DIR-2150 xupnpd Dreambox Plugin Command Injection Remote Code Execution Vulnerability
The Dreambox plugin in the xupnpd service on D-Link DIR-2150 routers fails to validate a user-supplied string before using it in a system call. A network-adjacent attacker without authentication could execute arbitrary commands on the router.
This vulnerability allows network-adjacent attackers to execute arbitrary commands on affected installations of D-Link DIR-2150 routers. Authentication is not required to exploit this vulnerability.
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
Likely, the Dreambox plugin passes a user-supplied string to a system call without validating or sanitising it.
Impact
A network-adjacent attacker could execute arbitrary code on the router without authentication.
What the attacker needed
Network-adjacent access to the router; xupnpd service reachable on TCP port 4044
The fix
D-Link issued an update to correct this vulnerability.
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 router runs a small media-sharing service called xupnpd, and one of its plugins takes input from the network. Because the router does not check that input carefully, someone on the same network can make the router run commands of their choosing. They do not need a password to try.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.