CVE-2026-56016

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible. An attacker who predicts a session id can impersonate the corresponding session and bypass authentication.
Configurations

No configuration.

History

25 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de CGI::Session::ID::md5 anteriores a la 4.49 para Perl generan identificadores de sesión predecibles a partir de fuentes de baja entropía. El método generate_id construye el identificador de sesión a partir de un resumen MD5 del ID del proceso, el tiempo de época y la función rand() incorporada. Las tres son fuentes predecibles y de baja entropía: el PID se extrae de un rango pequeño, el tiempo de época puede adivinarse o leerse del encabezado HTTP Date, y la función rand() de Perl no es adecuada para fines de seguridad porque es predecible y reversible. Un atacante que predice un identificador de sesión puede suplantar la sesión correspondiente y eludir la autenticación.

Information

Published : 2026-07-01 08:16

Updated : 2026-10-25 17:10


NVD link : CVE-2026-56016

Mitre link : CVE-2026-56016

CVE.ORG link : CVE-2026-56016


JSON object : View

Products Affected

No product.

CWE
CWE-338

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

CWE-340

Generation of Predictable Numbers or Identifiers