Skip to content
Path traversal Disclosed report Beginner

Insufficient checks in the file path parameter allow writing to unauthorized directories

The file upload endpoint accepted a path parameter containing parent-directory sequences, letting an authenticated user place uploaded files outside the intended upload directory. The program states this only allowed file placement manipulation, with no sensitive data disclosure or critical system file overwrite demonstrated.

axolot23 Follow

Originally disclosed on HackerOne

  • Triaged in 34 days
  • Fixed in 8 months
  • Disclosed after 8 months

Summary by the program

A directory traversal vulnerability was identified in the file upload functionality at backend.singlestore.com. By manipulating the path parameter with ../ sequences (e.g., ../test.csv) in the /public?q=UploadGet_ endpoint, authenticated users could write files to parent directories outside the intended upload location. The issue was classified as Low severity due to limited impact — file placement manipulation only, with no sensitive data disclosure or critical system file overwrite demonstrated. The vulnerability has been remediated through proper path sanitization.

The original report as published on HackerOne, by axolot23. 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 upload endpoint used the user-supplied path parameter to build the destination file path without sanitising parent-directory sequences.

Impact

The program rated this Low because it only allowed file placement manipulation, with no sensitive data disclosure or critical system file overwrite demonstrated.

What the attacker needed

An authenticated account

The fix

The vulnerability was remediated through proper path sanitisation.

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.

When a website lets you upload a file, it normally saves it in one specific folder. This report says the upload page also accepted a folder path from the user, and that path could contain '..' which means 'go up one folder'. By doing that, a logged-in user could make the file land in a different folder than intended.

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 axolot23

View all

2 more disclosed reports, best first.

More from SingleStore

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.