CVE-2026-121553

Cotonti through 1.0.0 Predictable Validation Tokens via md5(microtime())

Published Nov 3, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability permits attackers to calculate the registration and email‑change validation tokens used by Cotonti. Tokens are generated with md5(microtime()), which is deterministic and based on the request time. An attacker can infer the timestamp from the server's HTTP Date response header, compute candidate tokens offline, and submit them to the validation handler. This bypasses email‑ownership verification, allowing the creation of new accounts or the alteration of existing accounts' email addresses without the owner’s consent. The flaw falls under CWE‑338 and can lead to unauthorized account activation or email change, compromising account integrity and potentially enabling lateral movement within the system.

Affected Systems

All installations of Cotonti up to and including version 1.0.0 are vulnerable. This includes the default distribution of Cotonti Siena and any custom deployments that have not applied the fix in later releases. The issue originates in the user registration, email‑change, and profile modules, specifically within the functions that compute tokens using md5(microtime()). No specific build or configuration settings mitigate the flaw; this is a software defect that must be corrected.

Risk and Exploitability

The CVSS base score of 6.3 places the issue in the medium severity range. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is “network, valid user” where an attacker initiates a registration or email‑change request and supplies a predicted token. Because the attacker only requires network access to the target host and can use the publicly exposed HTTP Date header to compute tokens, the barrier to exploitation is low. The moderate CVSS score combined with the low complexity for an attacker suggests a meaningful risk, particularly in environments where accounts can be created by unauthenticated parties or where email change is not further validated. Administrators should therefore consider the vulnerability high enough to warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the most recent Cotonti version that replaces the token generation with a cryptographically secure random algorithm.
  • If an upgrade cannot be performed immediately, modify the token creation to use a secure random generator such as random_bytes() or openssl_random_pseudo_bytes() instead of md5(microtime()).
  • In the interim, block or restrict the registration and email‑change routes that use the vulnerable token logic until the fixes are in place, or revoke existing tokens and force re‑verification of affected accounts.

Generated by OpenCVE AI on November 3, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cotonti cotonti
Vendors & Products Cotonti cotonti
Type Values Removed Values Added
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.
Title Cotonti through 1.0.0 Predictable Validation Tokens via md5(microtime())
First Time appeared Cotonti
Cotonti cotonti Siena
Weaknesses CWE-338
CPEs cpe:2.3:a:cotonti:cotonti_siena:*:*:*:*:*:*:*:*
Vendors & Products Cotonti
Cotonti cotonti Siena
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 7, 2026, 3:09 AM
Reserved
Nov 3, 2026, 2:46 PM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 7, 2026, 4:17 AM