CVE-2024-5291

D-Link DIR-2150 GetDeviceSettings Target Command Injection Remote Code Execution Vulnerability. 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. Was ZDI-CAN-21235.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:dlink:dir-2150_firmware:1.06b01:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-2150:-:*:*:*:*:*:*:*

History

06 Aug 2025, 14:26

Type Values Removed Values Added
References () https://www.zerodayinitiative.com/advisories/ZDI-24-442/ - () https://www.zerodayinitiative.com/advisories/ZDI-24-442/ - Third Party Advisory
First Time Dlink
Dlink dir-2150
Dlink dir-2150 Firmware
CPE cpe:2.3:o:dlink:dir-2150_firmware:1.06b01:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-2150:-:*:*:*:*:*:*:*

Information

Published : 2024-05-23 22:15

Updated : 2025-08-06 14:26


NVD link : CVE-2024-5291

Mitre link : CVE-2024-5291

CVE.ORG link : CVE-2024-5291


JSON object : View

Products Affected

dlink

  • dir-2150
  • dir-2150_firmware
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')