Home

Description

Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely. Session ids are generated using an MD5 hash of the epoch time and a call to the built-in rand function. 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.

PUBLISHED Reserved 2025-04-16 | Published 2025-09-17 | Updated 2025-09-17 | Assigner CPANSec

Problem types

CWE-340 Generation of Predictable Numbers or Identifiers

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator

Product status

Default status
unaffected

0.19 (custom)
affected

References

metacpan.org/...y-0.201/source/lib/Apache2/AuthAny/Cookie.pm

cve.org (CVE-2025-40933)

nvd.nist.gov (CVE-2025-40933)

Download JSON