CVE-2024-5291: D-Link DIR-2150 · OS Command Injection
Affects D-Link DIR-2150Source CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 1.9% chance of exploitation in 30 days – higher than 80% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-5291, organizations should immediately identify all D-Link DIR-2150 routers running firmware version 1.06B01 or earlier. Until an official patch is released, consider the following specific actions: 1) Disable or restrict access to the SOAP API interface on TCP port 80, ideally limiting it to trusted management networks only. 2) Implement network segmentation to isolate vulnerable devices from untrusted or guest networks to reduce exposure to network-adjacent attackers. 3) Employ intrusion detection/prevention systems (IDS/IPS) with signatures or anomaly detection rules targeting suspicious SOAP API requests or command injection patterns. 4) Monitor router logs and network traffic for unusual activities indicative of exploitation attempts. 5) Regularly check for firmware updates from D-Link and apply patches promptly once available. 6) If possible, replace vulnerable devices with models not affected by this issue or with updated firmware. 7) Educate network administrators about the risks of exposing management interfaces to untrusted networks and enforce strict access controls. These targeted mitigations go beyond generic advice by focusing on reducing attack surface and early detection of exploitation attempts.
Description
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.