Skip to content
Info disclosure Disclosed report Beginner

Information Disclosure or 403 Bypass

A restricted endpoint returned a 403 error, but a ZIP archive at the same location could be downloaded and extracted, revealing the full contents of the protected directory. An attacker could therefore read files that the site intended to keep inaccessible.

bhautikXploit Follow

Originally disclosed on Bugcrowd

  • Accepted in 15 days
  • Fixed in 16 days
  • Disclosed after 19 days

Summary by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

We have removed the file AstroSoM.tar.gz, as it isn’t needed anymore and all the data inside the tar.gz file was available on the apod web site

Summary by bhautikXploit

Description: Let's assume the vulnerable domain is abc.com and the endpoint is /xyz. During my reconnaissance of abc.com, I found the /xyz endpoint. Initially, when I tried to access this endpoint, I received a 403 Forbidden error, which indicated that the resource was restricted. However, upon further exploration, I discovered a .zip file associated with the same endpoint. When I accessed this .zip file and extracted its contents, I was able to access the entire directory for the /xyz endpoint.

Impact:

  • Unauthorised Access: The ability to access a .zip file containing all files from the /xyz directory indicates a possible lack of proper access control or authentication mechanisms for sensitive directories.
  • Data Exposure: If the ZIP file contains sensitive or private files, this could lead to unauthorised data exposure. The attacker can download, extract, and review these files for further exploitation or analysis.

The original report as published on Bugcrowd, by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 access control was applied only to the directory path and not to the downloadable archive of the same content.

Impact

An attacker could download and review files from a directory that was meant to be restricted, which may expose sensitive data.

What the attacker needed

Knowledge of the endpoint path

The fix

The archive was removed because it was no longer needed and its contents were already public elsewhere.

How it was found

  1. Find the restricted endpoint during reconnaissance.
  2. Request the endpoint and observe the 403 Forbidden response.
  3. Discover a ZIP file associated with the same endpoint.
  4. Download the ZIP file and extract it to read the directory contents.

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 website can block a folder so visitors get an error instead of the file list. Here the same folder was also stored as a compressed archive (a ZIP file), and that archive was not protected, so anyone who found it could download it and unpack every file inside.

What is Info disclosure?

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

More by bhautikXploit

View all

1 more disclosed report, best first.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

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.