(Pwn2Own) Western Digital MyCloud PR4100 nasAdmin Incorrect Authorization Authentication Bypass Vulnerability

December 16th, 2020

Vulnerability Details

This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of Western Digital MyCloud PR4100. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the nasAdmin service, which listens on TCP port 80 and 443 by default. The issue results from incorrect string matching logic when accessing protected pages. An attacker can leverage this vulnerability to execute arbitrary 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/productsecurity/wdc-20009-os5-firmware-5-06-115

Disclosure Timeline

  • 2020-11-06 - Vulnerability reported to vendor
  • 2020-12-16 - Coordinated public release of advisory

Credit

Sam Thomas (@_s_n_t) of Pentest Ltd (@pentestltd)

Back to Advisories