PT-2026-94236 · Avideo · Avideo
CVSS v4.0
9.1
Critical
| Vector | AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
AVideo versions prior to commit c3edcc274c389816d434acadac07ee78eaf330c1
Description
The software uses a cryptographically weak pseudo-random number generator to create account activation and login pairing codes. The
getRandomCode() function in objects/functions.php derives codes from uniqid(), which uses seconds and microseconds, with a single rand() character for padding. This significantly reduces the possible code values for a known generation second. The endpoint 'plugin/API/set.json.php?APIName=login code' can be accessed without authentication and acts as an oracle for the server's exact microtime. An unauthenticated remote attacker who guesses a valid, unexpired code can use the endpoint 'plugin/API/get.json.php?APIName=login code' to retrieve the target account's email address and a User::getUserHash(users id, '+1 year') value. This hash is accepted as a password for one year, allowing for full account takeover.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use of Insufficiently Random Values
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Avideo