Skip to content
Info disclosure Disclosed report Beginner

Tor Project - Full Path Disclosure

A 404 error page on the OONI explorer site revealed the full server filesystem path. An attacker could use this path information to better plan further attacks against internal systems.

yox Follow

Originally disclosed on HackerOne

  • Disclosed after 6.2 years

Hi there,

While you are primarily interested in the network/browser issues, I would like to report a web bug I discovered and thought the best place to do that would be here.

Vulnerability

Type: Full Path Disclosure [CWE-209] Affected endpoint: https://explorer.ooni.torproject.org Example: https://explorer.ooni.torproject.org//x

Details

Vulnerability details as follows.

Impact

This security vulnerability could potentially allow a malicious hacker to map an attack against internal systems. For example, if this were to be chained with another vulnerability such as path traversal; it may lead to compromise of internal systems.

Mitigation

Typically these sort of errors occur from incorrect data types, in this case it seems like it is just a simple 404 page which is however leaking too much information to the user.

A best practice method is to log these type of errors to a local text file, while showing the user a friendly 404 message. This is often achieved by disabling error reporting on the application side.

Attachments

chrome_2017-09-19_08-25-58.png
chrome_2017-09-19_08-25-58.png From the original on HackerOne

The original report as published on HackerOne, by yox. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 application's error handling displayed detailed error information, including the full filesystem path, instead of a generic 404 message.

Impact

This could allow an attacker to map an attack against internal systems, and if chained with another vulnerability such as path traversal, it may lead to compromise of internal systems.

What the attacker needed

None

The fix

The application should disable error reporting and log errors to a local file while showing users a friendly 404 message.

How it was found

  1. Visit the affected endpoint with a non-existent path, such as adding an extra slash and a random character.
  2. Observe the 404 error page, which reveals the full server path.

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.

When a website cannot find a page, it shows an error page. This error page accidentally included the full folder path on the server, which is normally hidden. Knowing that path can help an attacker understand how the server is set up and plan other attacks.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Tor

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.