Advisory Details

December 15th, 2020

(Pwn2Own) Western Digital MyCloud PR4100 nasAdmin Authentication Bypass Vulnerability

ZDI-20-1447
ZDI-CAN-12327

CVE ID CVE-2020-28971
CVSS SCORE 5.4, AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
AFFECTED VENDORS Western Digital
AFFECTED PRODUCTS MyCloud PR4100
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to bypass authentication 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 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-12-15 - Vulnerability reported to vendor
  • 2020-12-15 - Coordinated public release of advisory
CREDIT Carlos Su from DEVCORE Security Team
BACK TO ADVISORIES