How I Found 3 Logic Bugs & 2 Access Control Issues in One Public BB Program.
The report describes five logic and access control flaws in a subscription platform: email plus-addressing allowed unlimited free trials, team member limits could be bypassed via race conditions and reactivation of revoked members, disabled permissions were not enforced server-side, and a low-privilege member could invite users by swapping tokens. An attacker could extend free trials indefinitely, add unlimited team members, perform actions despite disabled permissions, and invite users without authorisation.
Published on mahmoud-khalid.medium.com
In the name of God, the most gracious, the most merciful. May Allah’s blessings and peace be upon our Prophet Muhammad
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 relied on client-side restrictions and did not normalise email addresses or enforce server-side validation for team limits and permissions.
Impact
An attacker could extend free trials indefinitely, add unlimited team members, perform actions despite disabled permissions, and invite users without authorisation.
What the attacker needed
A free account; ability to send custom HTTP requests
The fix
The backend should normalise email addresses before checking for existing users and enforce server-side validation for team limits and permissions.
How it was found
- Register a new account with a base email address and get the free trial.
- Register again using a plus-addressed variant of the same email and receive the verification link in the same inbox.
- Complete verification and observe a fresh free trial for the new account.
- Repeat to extend the free trial indefinitely.
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.
This write-up covers several logic bugs where the application did not properly check what users were allowed to do. For example, it treated different versions of the same email address as separate accounts, letting someone keep getting free trials. It also failed to enforce limits and permissions on the server, so users could bypass restrictions by manipulating requests.
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.