CVE-2024-5297 D-Link D-View executeWmicCmd Command Injection Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code as root via command injection in D-Link D-View, bypassing authentication.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5297?
CVE-2024-5297 is a high-severity command injection vulnerability in D-Link D-View, published on 23 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-78
Which versions are affected by CVE-2024-5297?
It affects 1 product.
Products include Dlink D-View 8.
How do I fix CVE-2024-5297?
No fix has been published for CVE-2024-5297 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-5297 being exploited?
There is no known exploitation of CVE-2024-5297 in the wild and no public exploit code.
Other vulnerabilities in D-Link D-View
- CVE-2023-7163 D-Link D-View 8 Unauthenticated Probe-Core Server Communication
- CVE-2024-5296 D-Link D-View Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability
- CVE-2023-32165 D-Link D-View TftpReceiveFileHandler Directory Traversal Remote Code Execution Vulnerability
- CVE-2023-32169 D-Link D-View Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability
- CVE-2023-44411 D-Link D-View InstallApplication Use of Hard-coded Credentials Authentication Bypass Vulnerability