8.8
CWE
78 77
EPSS
0.070%
Advisory Published
Advisory Published
Updated

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

First published: Thu 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.

Credit: zdi-disclosures@trendmicro.com

Affected SoftwareAffected VersionHow to fix
D-Link DIR-2150

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

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

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203