CWE
78 77
Advisory Published
Updated
Advisory Published

CVE-2023-32150: D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability

First published: Fri May 03 2024(Updated: )

D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of the PrefixLen parameter provided to the HNAP1 endpoint. 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-19547.

Credit: zdi-disclosures@trendmicro.com

Affected SoftwareAffected VersionHow to fix
D-Link DIR-2640-US Firmware

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-2023-32150?

    CVE-2023-32150 has a high severity rating due to its potential for remote code execution.

  • How do I fix CVE-2023-32150?

    To fix CVE-2023-32150, update your D-Link DIR-2640 router to the latest firmware version provided by D-Link.

  • Who is affected by CVE-2023-32150?

    CVE-2023-32150 affects installations of D-Link DIR-2640 routers that are running vulnerable firmware.

  • What type of vulnerability is CVE-2023-32150?

    CVE-2023-32150 is classified as a command injection vulnerability that enables remote code execution.

  • Is authentication required to exploit CVE-2023-32150?

    Yes, authentication is required for attackers to exploit CVE-2023-32150 on affected D-Link DIR-2640 routers.

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