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

WWBN AVideo userRecoverPass.php recoverPass generation insufficient entropy vulnerability

The password recovery code is generated by encrypting only the current time plus 600 seconds, so two requests made in the same second produce identical codes. An attacker with a basic account can request a recovery code for themselves and for the admin simultaneously, then reuse their own code to reset the admin's password.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An insufficient entropy vulnerability exists in the userRecoverPass.php recoverPass generation functionality of WWBN AVideo dev master commit 15fed957fb. A specially crafted HTTP request can lead to an arbitrary user password recovery.

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

Root cause

The recovery code is derived solely from the current time (plus 600 seconds) and encrypted with a static salt, so it lacks randomness and is predictable across simultaneous requests.

Impact

An attacker with basic user privileges could reset the admin's password, leading to full account takeover; the report notes that a separate vulnerability (TALOS-2023-1897) can be used to suppress the email to the admin, making exploitation less evident.

What the attacker needed

A basic user account; ability to send simultaneous requests; victim has an email address set

How it was found

  1. Log in with a basic user account.
  2. Send a password recovery request for your own user and for the admin user at the same time.
  3. Receive the recovery email for your own account and note the recovery code in the link.
  4. Change the user parameter in the link from your username to admin.
  5. Follow the modified link to reach the password reset page for the admin account.

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 often emails you a special link with a secret code. This code should be random so nobody can guess it. Here, the code is made from the current time, so if two people ask at the same moment, they get the same code. An attacker can ask for a code for themselves and for the admin at the same time, then use their own code to reset the admin's password.

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.