D-Link DIR-2150 GetDeviceSettings Target Command Injection Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2150 routers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the SOAP API interface, which listens on TCP port 80 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 root.
Additional Details
Fixed in Firmware v1.06
https://support.dlink.com.au/Download/download.aspx?product=DIR-2150
Disclosure Timeline
- 2023-04-28 - Vulnerability reported to vendor
- 2023-05-15 - Coordinated public release of advisory
- 2023-06-02 - Advisory Updated
Credit
Anonymous