Broken Application Logic Bug Doesn’t Validate Email, leading to DOS
The staging signup endpoint accepted any email address without verifying it against a database of registered users, allowing an attacker to create unlimited accounts. By scripting rapid registrations, an attacker could exhaust server resources and potentially cause a denial of service.
Hi everyone, hope you all are doing all right. Now we are starting a series of bug bounty report writeups where I’ll be telling you about the latest and old bugs which I found and the methodology a bug hunter would wanna share with no one, haha.
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 did not validate email addresses against a database of existing users and used improper regex, allowing arbitrary registrations.
Impact
An attacker could create many accounts quickly, potentially exhausting server resources and causing a denial of service; the author limited testing to avoid affecting production.
What the attacker needed
Access to staging subdomain; no authentication needed
How it was found
- Discover a staging subdomain that redirects to an internal login page with user registration.
- Register with a random email and password, and observe successful login to the internal endpoint.
- Write a script to generate random emails and passwords and send POST requests to the signup endpoint.
- Run the script to create multiple accounts rapidly, confirming successful registrations.
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 website's signup form should check that an email address is real and not already used. Here, the form accepted any made-up email, so someone could write a script to create thousands of fake accounts very quickly. That flood of signups could overload the server and make the site slow or unavailable for real users.
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.