Advisory Details

August 9th, 2023

Western Digital MyCloud PR4100 CGI API Command Injection Remote Code Execution Vulnerability

ZDI-23-1051
ZDI-CAN-19678

CVE ID
CVSS SCORE 8.0, AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Western Digital
AFFECTED PRODUCTS MyCloud PR4100
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of the Western Digital MyCloud PR4100 NAS device. Authentication is required to exploit this vulnerability.

The specific flaw exists within the CGI API. 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

Fixed in My Cloud Firmware Version 5.26.119


DISCLOSURE TIMELINE
  • 2022-12-02 - Vulnerability reported to vendor
  • 2023-08-09 - Coordinated public release of advisory
CREDIT Claroty Research - Vera Mens, Noam Moshe, Uri Katz, Sharon Brizinov
BACK TO ADVISORIES