Skip to content
File upload Disclosed report Intermediate

Unrestricted File Upload Leads to RCE on mobile.starbucks.com.sg

An .ashx endpoint on mobile.starbucks.com.sg that was meant for image files allowed uploads of any file type. An attacker could upload a malicious file, potentially leading to remote code execution.

Kamil Onur Özkaleli Follow

Originally disclosed on HackerOne

Critical 9.8 View original
  • Triaged in 22 hours
  • Fixed in 9 days
  • Paid in 9 days
  • Disclosed after 34 days

Summary by the program

ko2sec discovered an .ashx endpoint on mobile.starbucks.com.sg intended for image files permitted unrestricted file type uploads which could lead to a potential RCE. ko2sec's thorough analysis provided additional endpoints on other out of scope domains that shared this vulnerability.

@ko2sec — thank you for reporting this vulnerability and for confirming the resolution.

The original report as published on HackerOne, by ko2sec. 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 did not check the file type or extension, allowing any file to be stored and possibly executed.

Impact

An attacker could upload a malicious file and potentially achieve remote code execution on the server.

What the attacker needed

Access to the upload endpoint

The fix

The report says the vulnerability was resolved, but does not describe the fix.

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 file upload feature on a website let people upload any kind of file, not just pictures. This could potentially lead to remote code execution, where an attacker runs code on the server.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More by Kamil Onur Özkaleli

View all

2 more disclosed reports, best first.

More from Starbucks

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.