Skip to content
RCE Disclosed report Beginner

Directory Traversal at http://staging.jsdelivr.net/

A staging server for a content delivery network appeared vulnerable to directory traversal, with a crafted URL aimed at reading files outside the web root.

vineet Follow

Originally disclosed on HackerOne

  • Fixed in under an hour
  • Disclosed after 52 days

hi,

Directory Traversal is a vulnerability which allows attackers to access restricted directories and execute commands outside of the web server's root directory.

POC: go this link ->

http://staging.jsdelivr.net//..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af/etc/passwd

Attachments

directory_traversal.jpg
directory_traversal.jpg From the original on HackerOne

The original report as published on HackerOne, by vineet. 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

Root cause

Likely the server failed to normalise or reject encoded path traversal sequences in the request path.

Impact

An attacker might be able to read files outside the web root, potentially exposing sensitive system information.

What the attacker needed

None

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.

A web server normally only serves files from a specific folder. Directory traversal tricks the server into going up out of that folder and reading other files. Here the attacker used a specially crafted web address aimed at a sensitive system file.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by vineet

View all

5 more disclosed reports, best first.

More from jsDelivr

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.