Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-56016

Опубликовано: 01 июл. 2026
Источник: redhat
CVSS3: 7.4

Описание

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible. An attacker who predicts a session id can impersonate the corresponding session and bypass authentication.

A flaw was found in perl-CGI-Session. This vulnerability allows a remote attacker to predict session identifiers due to the use of low-entropy sources in the generate_id method. By predicting a session identifier, an attacker can impersonate a user's session, leading to a bypass of authentication mechanisms and potential unauthorized access to sensitive information or functionality.

Отчет

This Important flaw in perl-CGI-Session allows a remote attacker to bypass authentication by predicting session identifiers. The CGI::Session::ID::md5 module generates session IDs using low-entropy sources, including process ID, epoch time, and a predictable random number generator. This predictability enables an attacker to impersonate a user's session, potentially leading to unauthorized access in web applications utilizing this module for session management.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6perl-CGI-SessionAffected
Red Hat Enterprise Linux 7perl-CGI-SessionAffected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-331
https://bugzilla.redhat.com/show_bug.cgi?id=2495858perl-CGI-Session: perl-CGI-Session: Authentication bypass via predictable session IDs

7.4 High

CVSS3

Связанные уязвимости

CVSS3: 5.9
ubuntu
около 1 месяца назад

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible. An attacker who predicts a session id can impersonate the corresponding session and bypass authentication.

CVSS3: 5.9
nvd
около 1 месяца назад

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible. An attacker who predicts a session id can impersonate the corresponding session and bypass authentication.

CVSS3: 5.9
debian
около 1 месяца назад

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictab ...

CVSS3: 5.9
github
около 1 месяца назад

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible. An attacker who predicts a session id can impersonate the corresponding session and bypass authentication.

7.4 High

CVSS3