Skip to content
Info disclosure Write-up Beginner

information disclosure leads to accessing “access log” file

An access log file was publicly accessible on a server, exposing request paths, status codes, and potentially credentials. An attacker could read the log to discover valid paths or credentials, though none were found in this case.

medium.com

Published on medium.com

I found a new program on HackerOne let’s call it program.com . Even though it was only a few days old, I wanted to check it out.

3baset, on medium.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the access log file was stored in a web-accessible directory without proper access controls.

Impact

An attacker could read the access log to discover valid paths or credentials, potentially leading to account takeover, though no valid credentials were found in this instance.

What the attacker needed

Target has a publicly accessible log directory; Attacker can discover the log file via fuzzing

How it was found

  1. Used Shodan to find IP addresses with SSL certificates for the target domain.
  2. Ran dirsearch on one of the IPs and found a /logs directory returning 200 OK.
  3. Fuzzed within the /logs directory and discovered an access.log file.
  4. Accessed the access.log file and saw request paths, status codes, and credentials.

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 write-up has not been written yet. The Original tab links to the source.

An access log is a file that records every request made to a website, like a visitor log. If this file is publicly accessible, anyone can read it and see what pages were visited and sometimes what data was sent, including usernames and passwords if they were in the request. This can help attackers find ways to break in.

What is Info disclosure?

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

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.