Security Advisories (1)
CVE-2026-5083 (2026-04-08)

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.

NAME

Ado::Sessions::Database - manage sessions stored in the database

DESCRIPTION

Ado::Sessions::Database manages sessions for Ado. All data gets serialized with Mojo::JSON and stored Base64 encoded in the database. A cookie or a request parameter can be used to share the session id between the server and the user agents.

METHODS

load

Load session data from database.

store

Save session data in database.

SEE ALSO

Mojolicious::Sessions, Ado::Sessions::File