REDHAT-BUG-2467174: High severity The Apache Software Foundation Apache::Session::Generate::ModUniqueId vulnerability
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 UNIQUEID environment variable for the session id. The UNIQUEID variable is set by the Apache moduniqueid 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 moduniqueid 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Avoid using Apache::Session::Generate::ModUniqueId for Perl session IDs when the UNIQUE_ID environment variable is sourced from mod_unique_id, because it is based on publicly/guessable values (server IP, process id, timestamp) with no obfuscation (versions 1.54 through 1.94 are insecure).
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2467174?
The severity of REDHAT-BUG-2467174 is rated high with a score of 7.
How do I fix REDHAT-BUG-2467174?
To fix REDHAT-BUG-2467174, upgrade to Apache::Session::Generate::ModUniqueId version 1.95 or higher.
What versions of Apache::Session::Generate::ModUniqueId are affected by REDHAT-BUG-2467174?
REDHAT-BUG-2467174 affects versions 1.54 through 1.94 of Apache::Session::Generate::ModUniqueId.
What is the risk associated with REDHAT-BUG-2467174?
The risk associated with REDHAT-BUG-2467174 is rated as 33, indicating a significant vulnerability.
Why is REDHAT-BUG-2467174 a security concern?
REDHAT-BUG-2467174 is a security concern because it uses an insecure method for generating session IDs that can lead to session hijacking.