Skip to content
RCE Disclosed report Advanced

Java Deserialization RCE via JBoss on card.starbucks.in

The Starbucks card system deserialised untrusted Java objects on a JBossMQ path without validation, allowing an attacker to inject a malicious object that executes commands during deserialisation. The researcher responsibly disclosed the issue and it was patched.

joaomatosf Follow

Originally disclosed on HackerOne

Critical 9.0 View original
  • Fixed in 23 days
  • Disclosed after 37 days

Summary by the program

The researcher discovered that a Starbucks online system running on the domain http://card.starbucks.in/ performs deserialization of java objects that are submitted by users on a specific path belonging to JBOSSMQ without sanitizing/validating the data. As a result, an attacker can inject a malicious java object capable of running a command on the system during the deserialization process. We have immediately taken necassary mesures to patch this vulnerability and the researcher responsibly disclosed it to RedHat as well. This was assigned CVE-2017-7504

The original report as published on HackerOne, by joaomatosf. 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 run commands on the system.

What the attacker needed

Access to the JBossMQ path

The fix

The vulnerability was fixed by applying necessary patches.

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.

Java deserialisation is when a program turns data back into objects. If it does that with data from users without checking it, an attacker can craft a special object that runs commands when it is turned back into an object. Here, a Starbucks server running JBossMQ had this flaw, so an attacker could run commands on the server.

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 joaomatosf

View all

4 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.

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.