Potential IP revealing using UNC Path in Windows File Picker
The Windows file picker in Tor Browser still accepts UNC paths, which can cause the browser to send network requests directly to a remote server without going through the Tor proxy. An attacker could use social engineering to trick a user into typing an attacker-controlled UNC path, revealing the user's real IP address.
Originally disclosed on HackerOne
- Disclosed after 5.4 years
This report is inspired by #294364. The release note says that after fixing Bug 26424, UNC path is disabled in Tor. But I found that I can still type UNC path in Windows file picker dialog box, and that sends requests to remote servers without Tor proxy.
Some social engineering is required to exploit this trick though. Attackers can use <input type="file"> on their website, and trick users to click "Browse" and type an attacker-controlled IP address into file picker in UNC format.
Is it possible to disable UNC path in the Windows file picker? If not, how about showing a warning message?
Impact
With some social engineering, attackers can know user's real IP address with <input type="file">.
Attachments

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
Impact
With social engineering, an attacker could learn the user's real IP address, though the attack requires the user to manually type a UNC path.
What the attacker needed
Windows operating system; Victim uses Tor Browser; Victim is tricked into typing a UNC path
The fix
The report suggests disabling UNC paths in the Windows file picker or showing a warning message, but does not state that a fix was applied.
How it was found
- The attacker hosts a website with a file input element.
- The attacker tricks the user into clicking the Browse button.
- The user types an attacker-controlled UNC path into the file picker.
- The browser sends a request to the remote server without using the Tor proxy.
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.
Tor Browser normally hides your real IP address by sending all traffic through the Tor network. A UNC path is a Windows way of referring to a file on another computer, like \\server\share. If the file picker accepts such a path, the browser may try to contact that server directly, bypassing Tor, which can reveal your real IP address to whoever controls the server.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.