# CVE-2024-5291: D-Link DIR-2150 GetDeviceSettings Target Command Injection Remote Code Execution Vulnerability

- Severity: High 8.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.97%, higher than 80% of CVEs (2026-12-01)
- Published: 2024-05-23T21:29:29.301Z
- Modified: 2026-06-17T08:15:37.823Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## 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.

(As written by CVE List.)

## Affected

- D-Link DIR-2150: 1.06B01
- dlink dir-2150_firmware: 1.06b01

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-24-442/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-5291](https://www.cve.org/CVERecord?id=CVE-2024-5291), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5291](https://nvd.nist.gov/vuln/detail/CVE-2024-5291), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5291 · Whole record: https://cve.day/CVE-2024-5291.json · Rebuilt by cve.day 2026-11-25T22:58:40.802Z
