Advisory Details

August 9th, 2023

Western Digital MyCloud PR4100 REST SDK Use of Potentially Dangerous Function Remote Code Execution Vulnerability

ZDI-23-1053
ZDI-CAN-19746

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 REST SDK. The issue results from the lack of proper validation of a user-supplied string before passing it to the "call_user_function" inbuilt function. 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