WWBN AVideo userRecoverPass.php captcha validation recovery notification bypass vulnerability
The password recovery endpoint sets a recovery code on the user object before validating the captcha, so a wrong captcha still saves the code without sending the email. An attacker could then guess the recovery code to reset any user's password.
Originally disclosed on Cisco Talos
A recovery notification bypass vulnerability exists in the userRecoverPass.php captcha validation functionality of WWBN AVideo dev master commit 15fed957fb. A specially crafted HTTP request can lead to the silent creation of a recovery pass code for any user.
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
What the attacker needed
No account needed; target username known; attacker can guess recovery code
The fix
The recovery code should only be generated and saved after the captcha is successfully validated.
How it was found
- Request the captcha endpoint to populate the session.
- Send a request to the password recovery endpoint with a target username and an incorrect captcha value.
- The recovery code is saved to the user object even though the captcha is invalid and no email is sent.
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.
When you forget your password, a website can email you a special link to reset it. This report found that the site creates that special link even if you fail the captcha check, but it does not email it. If an attacker can guess the link, they can reset anyone's password without the victim knowing.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.