CVE-2026-3256
Publiée le 2026-03-28 · Dernière modification le 2026-06-29
Les applications Perl utilisant le module HTTP::Session (versions antérieures à 0,54) génèrent des identifiants de session à l'aide de données prévisibles et de générateurs de nombres aléatoires faibles. Un attaquant non authentifié disposant d'un accès réseau peut deviner des identifiants de session actifs pour détourner des comptes d'utilisateurs, prenant ainsi le contrôle total des sessions concernées sans aucune interaction de l'utilisateur. Comme les identifiants ne sont pas cryptographiquement sécurisés, cette attaque est relativement simple à exécuter.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids. HTTP::Session defaults to using HTTP::Session::ID::SHA1 to generate session ids using a SHA-1 hash seeded with the built-in rand function, the high resolution epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. The distribution includes HTTP::session::ID::MD5 which contains a similar flaw, but uses the MD5 hash instead.