WWBN AVideo checkLoginAttempts login attempt restriction bypass vulnerability
The login attempt restriction in AVideo can be bypassed because the captcha check is only performed on the first call to checkLoginAttempts within a request, and subsequent calls return true. An attacker can send a series of HTTP requests to brute force user credentials without solving a captcha.
Originally disclosed on Cisco Talos
A login attempt restriction bypass vulnerability exists in the checkLoginAttempts functionality of WWBN AVideo dev master commit 15fed957fb. A specially crafted HTTP request can lead to captcha bypass, which can be abused by an attacker to brute force user credentials.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the checkLoginAttempts function uses a static flag to ensure it only performs the captcha validation once per request, but subsequent calls return true without re-checking, allowing the captcha to be bypassed.
Impact
An attacker could brute force user credentials even when captcha protection is enabled, potentially leading to account takeover.
What the attacker needed
RequestCaptchaAfterLoginsAttempts set >0; attacker can send HTTP requests
The fix
The vendor released a patch on 2023-12-15.
How it was found
- Set requestCaptchaAfterLoginsAttempts to 3 in the CustomUser plugin.
- Send a request with an incorrect password to a page that includes videos/configuration.php, such as objects/like.json.php.
- Repeat the request with different incorrect passwords, then with the correct password.
- Verify login success by requesting the user's playlists.
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 report has not been written yet. The Original tab links to the source.
AVideo is a video sharing website. It tries to stop password guessing by asking for a captcha after a few failed logins. But the check is flawed: after the first check in a request, later checks are skipped, so an attacker can keep trying passwords without ever solving a 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.