Exposed Key In Page Source Led To Bypass Captcha
The CAPTCHA value was exposed in the page source, allowing an attacker to extract it and use it in automated login requests. This enabled bypassing the CAPTCHA and performing brute-force attacks.
Published on medium.com
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a type of security measure known as challenge-response authentication. CAPTCHA helps protect you from spam and password decryption by asking you to complete a simple test that proves you are human and not a computer trying to break…
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
Impact
An attacker could bypass the CAPTCHA and perform brute-force attacks, potentially gaining unauthorised access to user accounts.
What the attacker needed
Access to the login page
How it was found
- Send a request to the login page and extract the CAPTCHA value from the source code.
- Also extract the ASP.NET session ID from the response headers.
- Use the extracted CAPTCHA value and session ID in a login request to bypass the CAPTCHA.
- Automate the process with a script to perform brute-force attacks.
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 CAPTCHA is a test to prove you are human, like typing distorted letters. Here, the correct answer was hidden in the web page's code, so a script could read it and submit it automatically. That let an attacker try many username and password combinations without being stopped by the CAPTCHA.
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.