Skip to content
Path traversal Disclosed report Beginner

Korea - LFI via path traversal at https://msr.istarbucks.co.kr:6443/appif/

An API directory on a Starbucks Korea host was vulnerable to path traversal, letting an attacker read arbitrary files from the server. The reporter retrieved system files, application source code and logs as proof.

iampuky Follow

Originally disclosed on HackerOne

Critical 9.3 View original
  • Triaged in 8 hours
  • Fixed in 22 days
  • Paid in 22 days
  • Disclosed after 49 days

Summary by the program

@iampuky — thank you for reporting the original vulnerability and for confirming the resolution.

Summary by the researcher

While analyzing the Starbucks Korea mobile application, i noticed that it called an API at https://msr.istarbucks.co.kr:6443/appif/. It was found that the application running under that directory was vulnerable to path traversal, allowing an attacker to read arbitrary files from the server. As a proof-of-concept I was able to retrieve system files, application source code, and logs.

Thank you @starbucks @agedsumatra @still for the good work.

The original report as published on HackerOne, by iampuky. 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 application built file paths from user-supplied input without normalising or restricting them to an allowed directory.

Impact

An attacker could read arbitrary files on the server, including system files, application source code and logs.

What the attacker needed

Network access to the API host

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 hands out files from the folder it is meant to serve. Path traversal means a request can climb out of that folder using special path segments, so the server returns files it should never expose, such as configuration or source code.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from Starbucks

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.