API Loophole: How I Bypassed CAPTCHA to Create Unlimited Accounts
The API endpoints for user creation did not enforce CAPTCHA, unlike the normal registration page. An attacker could send direct POST requests to create unlimited accounts without solving a CAPTCHA.
medium.com
Published on medium.com
Security vulnerabilities come in many forms, often lurking in the overlooked corners of an application. In one of my old findings, I discovered an interesting bug that allowed me to bypass CAPTCHA restrictions and create unlimited accounts on a platform.
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 CAPTCHA check was only implemented on the front-end registration page and not enforced on the backend API endpoints that create users.
Impact
This could lead to large-scale abuse of the platform, allowing malicious actors to flood the system with fake accounts.
What the attacker needed
Access to the API endpoints; ability to send POST requests
How it was found
- Navigate to the normal registration page and confirm that CAPTCHA is enforced.
- Use a proxy tool to send a POST request to /v3/users/.
- Include email and password parameters in the request body.
- Submit the request and observe the response.
- Verify that the account is created successfully without needing to solve a CAPTCHA.
- Repeat the process multiple times to confirm unrestricted account creation.
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.
CAPTCHA is a test to prove you are human, often used to stop automated sign-ups. The website had this on its normal sign-up page, but the underlying API that actually creates accounts did not check for it. So someone could skip the web page and talk directly to the API to make many accounts automatically.
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.