Skip to content
Business logic Write-up Intermediate

[Bounty Weekend] Disable Any Customer Ability To Create Service Account With Business Logic…

A service account's email address follows a predictable pattern that includes the owning organisation's identifier. By inviting a victim's service account email into the attacker's own organisation, the attacker could block the victim from creating their service account, because the server tried to create a duplicate user and hit a database constraint error.

rifqihz Follow

Published on medium.com

Bismillah, hello there ! I’m Rifqihz, a penetration tester, bug hunter and a college student who’s currently learning and writing about cyber security related topics.

Rifqi Hilmy Zhafrant, 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 invite flow creates a user record for any unregistered email without checking whether that email belongs to an existing service account, and the predictable email format lets an outsider target it.

Impact

The victim organisation could be prevented from creating its service account and therefore its API key, causing a denial of service; the report does not claim data access or takeover.

What the attacker needed

Attacker account; victim organisation ID known; victim has no service account yet

How it was found

  1. Create two accounts, one as attacker and one as victim.
  2. Invite the victim's service account email address into the attacker's organisation.
  3. As the victim, try to generate a service account and observe the duplicate key database error.

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.

A service account is a non-human account used by software to get an API key. The app builds each service account's email from a fixed pattern that contains the organisation's ID, so if you know or guess that ID you can predict the address. Inviting that address into your own organisation makes the system try to create a user that already exists, which fails and stops the real owner from creating their service 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 rifqihz

View all

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