Security Advisories (1)
CVE-2025-40931 (2026-03-05)

Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id. Apache::Session::Generate::MD5 generates session ids insecurely. The default session id generator 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.

Changes for version 1.81 - 2006-05-23

  • Don't unconditionally try to require packages in Apache::Session::Flex (Dave Rolsky).

Modules

A persistence framework for session data
An implementation of Apache::Session
An implementation of Apache::Session
Specify everything at runtime
Use MD5 to create random object IDs
mod_unique_id for session ID generation
mod_usertrack for session ID generation
An implementation of Apache::Session
Provides mutual exclusion using flock
Provides mutual exclusion using MySQL
Does not actually provides mutual exclusion
Provides mutual exclusion through sempahores
Provides mutual exclusion using Sybase
An implementation of Apache::Session
An implementation of Apache::Session
An implementation of Apache::Session
Use Storable and MIME::Base64 to zip up persistent data
Use Storable to zip up persistent data
Use Storable to zip up persistent data and unpack/pack to put into Sybase-compatible image field
Use Storable and pack() to zip up persistent data
Use DB_File to store persistent objects
Store persistent data on the filesystem
Store persistent data in a Informix database
Store persistent data in a MySQL database
Store persistent data in a Oracle database
Store persistent data in a Postgres database
Store persistent data in a Sybase database
An implementation of Apache::Session

Provides

in Session/Store/DBI.pm

Examples