CVE-2026-56016:详情

CVE-2026-56016

2026-07-01
06h46 +00:00
A02-Cryptographic Failures
2026-07-01
17h36 +00:00
指定 CVE 通知
随时了解指定 CVE 的变更。
管理通知

CVE 描述

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources

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.

CVE 解决方案

Upgrade to CGI::Session 4.49 or later, which generates session ids from Crypt::SysRandom.

CVE 信息

相关弱点

CWE-ID 弱点名称 来源
CWE-340 Generation of Predictable Numbers or Identifiers
The product uses a scheme that generates numbers or identifiers that are more predictable than required.
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

参考资料