Skip to content
Account takeover Advisory Intermediate CVE-2023-50172

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.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Medium 5.3 View original

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.

Claudio Bozzato, on Cisco Talos

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

  1. Request the captcha endpoint to populate the session.
  2. Send a request to the password recovery endpoint with a target username and an incorrect captcha value.
  3. 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.

More by Claudio Bozzato

View all

185 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.