Advisory Details

May 14th, 2024

(0Day) D-Link D-View executeWmicCmd Command Injection Remote Code Execution Vulnerability

ZDI-24-448
ZDI-CAN-21821

CVE ID CVE-2024-5297
CVSS SCORE 8.8, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS D-Link
AFFECTED PRODUCTS D-View
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS

08/24/23 – ZDI reported the vulnerabilities to the vendor
08/24/23 – The vendor communicated that the cases would be fixed in Q4, 2023 release
05/01/24 – ZDI notified the vendor of the intention to publish the case as 0-day advisory on 05/14/24

-- Mitigation: On May 14, 2024, the vendor informed ZDI about the software update v2.0.3.88
https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10386


DISCLOSURE TIMELINE
  • 2023-08-24 - Vulnerability reported to vendor
  • 2024-05-14 - Coordinated public release of advisory
  • 2024-05-24 - Advisory Updated
CREDIT 06fe5fd2bc53027c4a3b7e395af0b850e7b8a044
BACK TO ADVISORIES