Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <cb29954e-6432-4cbb-8851-45a8c14d4263@cpansec.org>
Date: Mon, 13 Apr 2026 08:00:24 +0100
From: Robert Rothenberg <rrwo@...nsec.org>
To: cve-announce@...urity.metacpan.org, oss-security@...ts.openwall.com
Subject: CVE-2026-5085: Solstice::Session versions through 1440 for Perl
 generates session ids insecurely

========================================================================
CVE-2026-5085                                        CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-5085
   Distribution:  Solstice
       Versions:  through 1440

       MetaCPAN:  https://metacpan.org/dist/Solstice


Solstice::Session versions through 1440 for Perl generates session ids
insecurely

Description
-----------
Solstice::Session versions through 1440 for Perl generates session ids
insecurely.

The _generateSessionID method returns an MD5 digest seeded by the epoch
time, a random hash reference, a call to the built-in rand() function
and the process id.

The same method is used in the _generateID method in
Solstice::Subsession, which is part of the same distribution.

The epoch time may be guessed, if it is not leaked in the HTTP Date
header. Stringified hash refences will contain predictable content. The
built-in rand() function is seeded by 16-bits and is unsuitable for
security purposes. The process id comes from a small set of numbers.

Predictable session ids could allow an attacker to gain access to
systems.

Problem types
-------------
- CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator

References
----------
https://metacpan.org/dist/Solstice/source/lib/Solstice/Session.pm#L481
https://metacpan.org/dist/Solstice/source/lib/Solstice/Subsession.pm#L105
https://security.metacpan.org/docs/guides/random-data-for-security.html



Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.