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

CVE-2024-5297: (0Day) D-Link D-View executeWmicCmd Command Injection Remote Code Execution Vulnerability

First published: Thu May 23 2024(Updated: )

D-Link D-View executeWmicCmd Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of D-Link D-View. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the executeWmicCmd method. 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-21821.

Credit: zdi-disclosures@trendmicro.com

Affected SoftwareAffected VersionHow to fix
D-Link D-View

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-5297?

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

  • How do I fix CVE-2024-5297?

    To fix CVE-2024-5297, users should update to the latest version of D-Link D-View as recommended in the security advisory.

  • Who is affected by CVE-2024-5297?

    Users of D-Link D-View installations are affected by CVE-2024-5297 if they have not applied the latest patches.

  • What kind of vulnerability is CVE-2024-5297?

    CVE-2024-5297 is a command injection vulnerability that allows for remote code execution.

  • Is authentication needed to exploit CVE-2024-5297?

    Yes, authentication is required to exploit CVE-2024-5297, but it can still be a significant risk.

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