Skip to content
Path traversal Disclosed report Beginner

[portswigger.net] Path Traversal al /cms/audioitems

A path traversal vulnerability in the /cms/audioitems endpoint allowed remote attackers to read internal files as the root user. The reporter demonstrated access to sensitive system files such as /etc/shadow.

0xd0m7 Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 15 days
  • Paid in 3 hours
  • Disclosed after 15 days

Prelude. I wasn't going to report it, I thought it was your laboratory but after my first analysis this seems real.

Description It's detected a path traversal as root user that allows to remote attackers see internal files as root.

https://portswigger.net/cms/audioitems//etc/networks https://portswigger.net/cms/audioitems//etc/shadow

Poc curl -kis "https://portswigger.net/cms/audioitems//etc/shadow"

2.png
2.png From the original on HackerOne

Impact

Abilit to read internal files as root

The original report as published on HackerOne, by 0xd0m7. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An attacker could read internal files as root, potentially exposing sensitive system information.

What the attacker needed

None

How it was found

  1. Send a request to the /cms/audioitems endpoint with a crafted path pointing at an internal file.
  2. Observe that the server returns the contents of an internal system 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 report has not been written yet. The Original tab links to the source.

Path traversal lets someone reach files outside the intended folder via the URL. Here the server returned system files like the password file, which should never be exposed.

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 0xd0m7

View all

2 more disclosed reports, best first.

More from PortSwigger Web Security

View all

The newest disclosed reports for this program.

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.