Description
Cotonti through 1.0.0 derives password recovery validation tokens from md5(microtime()) in users.passrecover.php, creating a predictable token space of approximately one million values per second. Unauthenticated attackers can read the server Date header, precompute candidate tokens within a narrow time window, and probe them against the passrecover authentication endpoint to reset any account password including administrators.
Severity (CVSS)
| Base score | 9.2 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-338 — Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cotonti | Cotonti | 0 to <=1.0.0 |
References
- https://github.com/Cotonti/Cotonti/issues/1890 (issue-tracking)
- https://github.com/Cotonti/Cotonti/pull/1898 (patch issue-tracking)
- https://github.com/Cotonti/Cotonti/blob/1.0.0/modules/users/inc/users.passrecover.php (technical-description)
- https://github.com/Cotonti/Cotonti (product)
- https://www.vulncheck.com/advisories/cotonti-through-1.0.0-predictable-password-recovery-token-via-weak-prng (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.