Skip to content
Path traversal Advisory Intermediate CVE-2021-3310

Western Digital MyCloud PR4100 Link Resolution Information Disclosure Vulnerability

The SMB and AFP services on the Western Digital MyCloud PR4100 did not properly resolve symbolic links, allowing an unauthenticated attacker to read arbitrary files. This could disclose sensitive information in the context of the service account.

Chris Hernandez Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Western Digital MyCloud PR4100. Authentication is not required to exploit this vulnerability.

Chris Hernandez, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the SMB and AFP services followed symbolic links without restricting them to the shared directory, allowing access to files outside the intended share.

Impact

An unauthenticated remote attacker could read arbitrary files in the context of the service account, potentially disclosing sensitive information.

What the attacker needed

Network access to SMB or AFP service

The fix

The vendor issued a firmware update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A symbolic link is a shortcut file that points to another file. The device's file-sharing services followed these shortcuts without checking where they led, so someone on the network could create a shortcut to a sensitive file and then read it through the service.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.