CVE-2024-5291: (0Day) D-Link DIR-2150 GetDeviceSettings Target Command Injection Remote Code Execution Vulnerability

Published May 23, 2024
·
Updated

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.

Affected Software

2 affected components
All of the following
Dlink Dir-2150 Firmware=1.06b01
Dlink Dir-2150

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Restrict network access to the D-Link DIR-2150 SOAP API interface that listens on TCP port 80 by default, e.g., limit inbound access to trusted management sources only.

  2. Compensating control

    Because authentication is not required to exploit the vulnerability, ensure the SOAP API endpoint is not exposed to untrusted networks (e.g., do not allow direct WAN/Internet access).

Event History

May 23, 2024
CVE Published
via MITRE·09:29 PM
Data Sourced
via MITRE·09:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 29, 2026
Advisory Published
via ZDI·08:52 AM
Data Sourced
via ZDI·08:52 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-5291?

CVE-2024-5291 is classified as a critical severity vulnerability due to its potential for remote code execution without authentication.

2

How do I fix CVE-2024-5291?

To fix CVE-2024-5291, update your D-Link DIR-2150 router to the latest firmware version provided by D-Link.

3

Who can exploit CVE-2024-5291?

CVE-2024-5291 can be exploited by network-adjacent attackers, which means attackers in the local network can potentially exploit this vulnerability.

4

What is the impact of CVE-2024-5291?

The impact of CVE-2024-5291 includes the ability for attackers to execute arbitrary code on vulnerable D-Link DIR-2150 routers.

5

Does CVE-2024-5291 require authentication to exploit?

No, CVE-2024-5291 does not require authentication for exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203