Skip to content
Business logic Write-up Beginner

How I “hacked” the OnePlus reservation system

The OnePlus reservation system allowed anyone to send referral confirmation emails to arbitrary addresses without verifying ownership, and the author automated this using disposable Mailinator inboxes to jump the queue. By scripting the process, the attacker could artificially advance their position by tens of thousands of slots.

medium.com

Published on medium.com

EDIT: I mistakenly stated that the characters on the end of URL was a hash. It is not, it is a cache buster.

Jake Cooper, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

The attacker could jump the queue by tens of thousands of positions, potentially denying legitimate users their place and gaining unfair advantage.

What the attacker needed

A disposable email service like Mailinator; ability to send HTTP requests (e.g., via Python); no authentication required

How it was found

  1. Extract the request URL from the invite page using the browser's network tab.
  2. Generate random email addresses at mailinator.com and send referral requests to them.
  3. Use the Mailinator API to retrieve the confirmation email and extract the confirmation URL.
  4. Visit the confirmation URL to complete the referral and advance the queue position.

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 write-up has not been written yet. The Original tab links to the source.

The OnePlus website let people move up a waiting list by inviting friends. But it didn't check that the email address you invited actually belonged to a real friend. The author used temporary email addresses to pretend to invite many people, which pushed them forward in the queue.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.