Body Background
TrendAI™ Zero Day Initiative™ Logo

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

August 9th, 2023

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

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.