bypass user-restriction registration
The subscription page disabled the minus button to prevent removing additional users once the count reached two, but the disabled attribute was only client-side. An attacker could remove it and delete the extra users, then subscribe paying only for the primary user.
Published on medium.com
today i will came across another interesting bug that i found in the same last target u can reach it from here block user from resetting his password
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 a client-side disabled attribute to enforce a business rule instead of validating the user count on the server.
Impact
An attacker could bypass the additional user fees and pay only for the primary user, potentially saving money on subscriptions.
What the attacker needed
A free trial account; ability to add users
How it was found
- Enter your account and add another two users.
- On the payment page, open developer tools and remove the disabled attribute from the minus button.
- Remove the additional users and proceed to subscribe.
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 website tried to stop you from removing extra users by greying out a button, but that block was only in the browser. By editing the page, you could re-enable the button and remove the users, then pay less.
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.