CVE-2026-5081

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:chorny:apache\:\:session\:\:generate\:\:moduniqueid:*:*:*:*:*:perl:*:*

History

26 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (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.

Information

Published : 2026-05-06 13:16

Updated : 2026-10-26 19:10


NVD link : CVE-2026-5081

Mitre link : CVE-2026-5081

CVE.ORG link : CVE-2026-5081


JSON object : View

Products Affected

chorny

  • apache\
CWE
CWE-340

Generation of Predictable Numbers or Identifiers

CWE-341

Predictable from Observable State