CVE-2022-22992: (Pwn2Own) Western Digital MyCloud PR4100 cloudAccess Command Injection Remote Code Execution Vulnerability
A command injection remote code execution vulnerability was discovered on Western Digital My Cloud Devices that could allow an attacker to execute arbitrary system commands on the device. The vulnerability was addressed by escaping individual arguments to shell functions coming from user input.
Other sources
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Western Digital MyCloud PR4100. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the cloudAccess endpoint. 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.
— ZDI
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2022-22992?
The severity of CVE-2022-22992 is critical with a CVSS score of 9.8.
How does CVE-2022-22992 affect Western Digital MyCloud PR4100?
CVE-2022-22992 allows network-adjacent attackers to execute arbitrary code on affected installations of Western Digital MyCloud PR4100.
Is authentication required to exploit CVE-2022-22992?
Yes, authentication is required to exploit CVE-2022-22992, although the existing authentication mechanism can be bypassed.
Which software versions of Western Digital MyCloud PR4100 are affected by CVE-2022-22992?
Western Digital MyCloud PR4100 with My Cloud OS version up to (exclusive) 5.19.117 is affected by CVE-2022-22992.
How can I fix CVE-2022-22992?
To fix CVE-2022-22992, it is recommended to update to My Cloud OS firmware version 5.19.117 or higher.