Skip to content
Path traversal Write-up Beginner

He Typed “../../../../../../../etc/passwd” After a Google Ima

A path traversal flaw in a static image URL on Google's peering portal allowed reading arbitrary files from the server, exposing kernel version, internal IP addresses, and process details. An attacker could use this information for reconnaissance to plan further attacks.

Vivek ps Follow

Published on osintteam.blog

I came across this writeup from a researcher named Jafar Abo Nada and I had to break it down. Not because the technique is obscure or genius — it’s actually dead simple.

Vivek PS, on osintteam.blog

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 server failed to sanitise user-supplied file paths, allowing directory traversal sequences to escape the intended directory.

Impact

An attacker could read sensitive system files, exposing kernel version, internal IP addresses, and process details, which could aid in further attacks; no code execution or account compromise occurred.

What the attacker needed

None

The fix

The vulnerability was fixed within 30 days of submission.

How it was found

  1. Find a static image URL on the target site.
  2. Append a path traversal sequence after the image filename.
  3. Request the modified URL to read files outside the intended directory.

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 path traversal bug lets someone trick a website into reading files it shouldn't, by using '../' to climb out of the intended folder. Here, the server returned system files like /proc/version, which revealed the operating system version and internal network addresses. This information helps attackers plan more serious attacks.

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 Vivek ps

View all

14 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.