Advisory Details

February 9th, 2023

(Pwn2Own) Western Digital MyCloud PR4100 DDNS Response Processing Command Injection Remote Code Execution Vulnerability

ZDI-23-111
ZDI-CAN-19694

CVE ID CVE-2022-29843
CVSS SCORE 7.5, AV:A/AC:H/PR:N/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 Western Digital MyCloud PR4100. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of DDNS responses. 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 Western Digital has issued an update to correct this vulnerability. More details can be found at:
https://www.westerndigital.com/support/product-security/wdc-23002-my-cloud-firmware-version-5-26-119
DISCLOSURE TIMELINE
  • 2023-01-21 - Vulnerability reported to vendor
  • 2023-02-09 - Coordinated public release of advisory
CREDIT rskvp93 and biennd4 (from VcsLab of Viettel Cyber Security)
BACK TO ADVISORIES