Skip to content
Path traversal Write-up Intermediate

[Bounty Weekend] View Any User Design With Simple Path Traversal IDOR

The design-loading endpoint took a file path from the xmlpath parameter and only checked that the caller owned the first design ID in the path. By inserting a traversal segment after their own design ID, an attacker could read another user's design XML.

rifqihz Follow

Published on medium.com

Bismillah, hello there ! I’m Rifqihz, a penetration tester, bug hunter and a college student who’s currently learning and writing about cyber security related topics.

Rifqi Hilmy Zhafrant, 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 server validated ownership only on the first design ID in the path and then used the raw path to read a file, so a traversal segment after the owned ID reached another user's directory.

Impact

An authenticated user could read other users' design XML, a confidentiality impact only; the report does not claim modification or account takeover.

What the attacker needed

An account on the platform; a known victim design identifier

How it was found

  1. Open your own design and capture the request to the design loader.
  2. Note the xmlpath format with category and design identifiers.
  3. Change the design identifier to another user's and observe the 403.
  4. Insert a traversal segment after your own design identifier to reach the victim's design file.

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.

The site builds a file path from a value the user controls, and it only checks the first folder in that path. Adding '..' (which means 'go up one folder') lets the request escape into another user's folder. This is called path traversal, and here it also bypasses an ownership check, so it is an IDOR (insecure direct object reference).

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 rifqihz

View all

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