ZDI-22-1222: D-Link DIR-2150 xupnpd ui_upload Command Injection Remote Code Execution Vulnerability
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 specific flaw exists within the xupnpd service, which listens on TCP port 4044 by default. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-22-1222?
ZDI-22-1222 is considered a critical vulnerability due to its potential for arbitrary command execution without authentication.
How do I fix ZDI-22-1222?
Fixing ZDI-22-1222 involves updating the firmware of your D-Link DIR-2150 router to the latest version provided by the manufacturer.
Who is affected by ZDI-22-1222?
ZDI-22-1222 affects users of D-Link DIR-2150 routers that have the vulnerable xupnpd service exposed.
Can ZDI-22-1222 be exploited remotely?
Yes, ZDI-22-1222 can be exploited remotely by network-adjacent attackers without needing any authentication.
What should I do if I cannot update my D-Link DIR-2150 router for ZDI-22-1222?
If you cannot update, it's recommended to disable the xupnpd service and restrict network access to the router.