Description
Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from a SHA-1 hash seeded with the built-in rand function, the 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. Predicable session ids could allow an attacker to gain access to systems. Note that Ado is no longer maintained, and has been removed from the CPAN index. It is still available on BackPAN.
Affected products
berov: ado\
References4
- backpan.perl.org/authors/id/B/BE/BEROV/Ado-0.935.tar.gz Product
- github.com/kberov/Ado/issues/112 Issue Tracking
- security.metacpan.org/docs/guides/random-data-for-security.html Third Party Advisory
- www.openwall.com/lists/oss-security/2026/04/08/7 Mailing List
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - EPSS — exploit probability
- 0% percentile: 39 · as of 12 November 2026
- CWE
- CWE-338CWE-340
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.