CVE-2025-40932

Apache::SessionX versions through 2.01 for Perl create insecure session id. Apache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 hash seeded with the built-in rand() function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. Predicable session ids could allow an attacker to gain access to systems.
Configurations

Configuration 1 (hide)

cpe:2.3:a:grichter:apache\:\:sessionx:*:*:*:*:*:perl:*:*

History

03 Mar 2026, 19:36

Type Values Removed Values Added
References () https://metacpan.org/release/GRICHTER/Apache-SessionX-2.01/source/SessionX/Generate/MD5.pm#L29 - () https://metacpan.org/release/GRICHTER/Apache-SessionX-2.01/source/SessionX/Generate/MD5.pm#L29 - Issue Tracking
First Time Grichter apache\
Grichter
CPE cpe:2.3:a:grichter:apache\:\:sessionx:*:*:*:*:*:perl:*:*

27 Feb 2026, 19:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.2

27 Feb 2026, 14:06

Type Values Removed Values Added
Summary
  • (es) Las versiones de Apache::SessionX hasta la 2.01 para Perl crean un ID de sesión inseguro. Apache::SessionX genera IDs de sesión de forma insegura. El generador de ID de sesión predeterminado en Apache::SessionX::Generate::MD5 devuelve un hash MD5 sembrado con la función rand() incorporada, el tiempo de época y el PID. El PID provendrá de un pequeño conjunto de números, y el tiempo de época puede ser adivinado, si no se filtra del encabezado HTTP Date. La función rand incorporada no es adecuada para uso criptográfico. Los IDs de sesión predecibles podrían permitir a un atacante obtener acceso a los sistemas.

27 Feb 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-27 00:16

Updated : 2026-03-03 19:36


NVD link : CVE-2025-40932

Mitre link : CVE-2025-40932

CVE.ORG link : CVE-2025-40932


JSON object : View

Products Affected

grichter

  • apache\
CWE
CWE-338

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

CWE-340

Generation of Predictable Numbers or Identifiers