Skip to content
Access control Write-up Beginner

How to Hacking Amazon Simple Notification Service @amazon

A user account with no payment permissions still received mobile push notifications about payment transfers made by the account owner. An attacker with a low-privileged account could therefore learn about sensitive payment activity they should not see.

mo7mead Follow

Published on medium.com

Hello, my name is mo7mead, I am ranked among the top 10 Hackers on Amazon in HackerOne this year.

mo7mead, 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

Root cause

Likely the notification subscription was set up at the account level rather than filtered by each user's permissions, so every user in the account received payment alerts.

What the attacker needed

A secondary user account; mobile app access; account owner makes a transfer

How it was found

  1. Create a secondary user account under the main account with no payment permissions.
  2. Log in to the mobile application as the secondary user.
  3. From the account owner, transfer a payment to a bank account.
  4. Observe that the secondary user receives a notification about the successful transfer.

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.

In cloud systems, one main account can invite other users and give each of them only certain permissions. Here, a user who was not allowed to see payments still got a phone notification saying a payment had gone through. That means private information leaked to someone who should not have had it.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.