Skip to content
Path traversal Write-up Beginner

Passwd Found In Requested Url

An attacker sent a request with a file parameter containing directory traversal sequences to try to read the server's password file. The server responded with an internal server error and no file contents, so the attempt was unsuccessful.

Mag Manoj Follow

Published on systemweakness.com

From this result, we can see this ip address used for several malicious activities.

Mag Manoj, on systemweakness.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

Impact

The attack was unsuccessful because the server returned an error and no file contents, so no sensitive data was disclosed.

What the attacker needed

Network access to the web server; a file parameter that accepts user input

How it was found

  1. The attacker sent a request to the web server with a file parameter containing directory traversal sequences.
  2. The server responded with HTTP status 500 and an empty response body.
  3. The SOC analyst checked the source IP against threat intelligence and found it associated with malicious activity.
  4. The analyst reviewed logs and command history and found no evidence of successful file access.

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.

A local file inclusion bug lets an attacker trick a web server into showing files it should keep private, by putting something like '../' in a link. Here the attacker tried to read the system's password file, but the server returned an error instead of the file, so nothing was stolen.

What is Path traversal?

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

More by Mag Manoj

View all

2 more disclosed reports, best first.

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.