Cotonti through 1.0.0 Predictable Validation Tokens via md5(microtime())
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 7, 2026
- Reserved
- Nov 3, 2026
Description
Cotonti through 1.0.0 generates registration and email-change validation tokens with md5(microtime()), allowing attackers to bypass email-ownership verification by predicting tokens. Attackers can derive the generation time from the HTTP Date header and compute candidate tokens offline. They then submit these tokens to the users.register.php validate handler to activate accounts or confirm email addresses they do not control.
| Product | Versions |
|---|---|
| cotonti cotonti | 1.0.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | VulnCheck | |
| 3.1 | 4.8 Medium | VulnCheck |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
- GitHub Issue #1904Issue Tracker
- https://github.com/Cotonti/CotontiProduct Page
- https://github.com/Cotonti/Cotonti/blob/1.0.0/modules/users/inc/users.functions.php#L97Technical Details
- https://github.com/Cotonti/Cotonti/blob/1.0.0/modules/users/inc/users.profile.php#L116Technical Details
- https://github.com/Cotonti/Cotonti/blob/1.0.0/modules/users/inc/users.register.php#L148Technical Details
- https://github.com/Cotonti/Cotonti/pull/1905Technical DetailsPatchIssue Tracker
- VulnCheck Advisory: Cotonti through 1.0.0 Predictable Validation Tokens via md5(microtime())Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.