Advisory Details

August 9th, 2023

Western Digital MyCloud PR4100 Logger Class Command Injection Remote Code Execution Vulnerability

ZDI-23-1052
ZDI-CAN-19745

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 Logger class. The issue results from the lack of proper validation of a user-supplied string before using it to perform an exec 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 Discovered by: Claroty Research - Vera Mens, Noam Moshe, Uri Katz, Sharon Brizinov
BACK TO ADVISORIES