CVE-2026-5085
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| MCRAWFOR | Solstice::Session | 0 <= 1440 | affected |
Weaknesses
- CWE-340: CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
CVE Program Container
Additional References
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.