Skip to content
Business logic Write-up Intermediate

Business logic: I can order anything from your account without paying for it

An unauthenticated checkout flow associated orders with an existing account based solely on the contact email provided, without verifying ownership. An attacker could place orders on behalf of any victim by using their email address, potentially causing financial loss if points-based purchases were enabled.

gr3yg05t Follow

Published on gr3yg05t.medium.com

In this writeup, I will share my first finding of an application logic flaw, which I found in a e-commerce platform provider (like Shopify).

Gr3yG05T, on gr3yg05t.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

Root cause

Likely the application trusted the contact email entered during unauthenticated checkout to associate the order with an existing account, without verifying that the user owned that email address.

Impact

An attacker could place orders from a victim's account without paying, and if the points feature was enabled, could use the victim's points to cause financial loss.

What the attacker needed

Victim has an account; attacker knows victim's email; points feature enabled for financial loss

How it was found

  1. Create an account using the victim's email address.
  2. In a second browser, place an order and provide the victim's email as the contact email during checkout.
  3. Observe that the order is associated with the victim's account.

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.

When you buy something on a website, you often give an email address. The site used that email to decide which account the order belonged to, but it never checked that the person typing the email actually owned it. So anyone could type someone else's email and create orders in that person's account.

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.

More by gr3yg05t

View all

3 more disclosed reports, best first.

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.