CVE-2026-5081
JSON

9.1critical

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure. Apache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID variable is set by the Apache mod_unique_id plugin, which generates unique ids for the request. The id is based on the IPv4 address, the process id, the epoch time, a 16-bit counter and a thread index, with no obfuscation. The server IP is often available to the public, and if not available, can be guessed from previous session ids being issued. The process ids may also be guessed from previous session ids. The timestamp is easily guessed (and leaked in the HTTP Date response header). The purpose of mod_unique_id is to assign a unique id to requests so that events can be correlated in different logs. The id is not designed, nor is it suitable for security purposes.

Affected

Product or packageVersionsReported by
Apache-Sessionfrom 1.54 up to 1.94CVE List
perlNot specifiedCVE List
chorny apache::session::generate::moduniqueidfrom 1.54 up to 1.94NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-340CWE-341

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure. Apache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID variable is set by the Apache mod_unique_id plugin, which generates unique ids for the request. The id is based on the IPv4 address, the process id, the epoch time, a 16-bit counter and a thread index, with no obfuscation. The server IP is often available to the public, and if not available, can be guessed from previous session ids being issued. The process ids may also be guessed from previous session ids. The timestamp is easily guessed (and leaked in the HTTP Date response header). The purpose of mod_unique_id is to assign a unique id to requests so that events can be correlated in different logs. The id is not designed, nor is it suitable for security purposes.

NVD (es)

Las versiones de Apache::Session::Generate::ModUniqueId desde la 1.54 hasta la 1.94 para los IDs de sesión de Perl son inseguras. Apache::Session::Generate::ModUniqueId (añadido en la versión 1.54) utiliza el valor de la variable de entorno UNIQUE_ID para el ID de sesión. La variable UNIQUE_ID es establecida por el plugin Apache mod_unique_id, que genera IDs únicos para la solicitud. El ID se basa en la dirección IPv4, el ID de proceso, el tiempo de época, un contador de 16 bits y un índice de hilo, sin ofuscación. La IP del servidor a menudo está disponible para el público, y si no está disponible, puede adivinarse a partir de IDs de sesión anteriores emitidos. Los IDs de proceso también pueden adivinarse a partir de IDs de sesión anteriores. La marca de tiempo es fácilmente adivinable (y se filtra en el encabezado de respuesta HTTP Date). El propósito de mod_unique_id es asignar un ID único a las solicitudes para que los eventos puedan correlacionarse en diferentes registros. El ID no está diseñado, ni es adecuado para fines de seguridad.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-5081 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-5081 changed 2026-10-26Public domain