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::Build - Custom routines for Ado installation

SYNOPSIS

#See Build.PL
use Ado::Build;
my $builder = Ado::Build->new(..);
#...
#$builder->create_build_script();

DESCRIPTION

This is where we place custom functionality, executed during the installation of Ado by Module::Build;

METHODS

process_etc_files

Moves files found in Ado/etc to Ado/blib/etc. Returns void.

process_public_files

Moves files found in Ado/public to Ado/blib/public. Returns void.

ACTION_install

Changes file permissions to 0600 of some files like etc/ado.sqlite and etc/ado.conf that need it during runtime.

SEE ALSO

"CONSTRUCTORS" in Module::Build::API, "METHODS" in Module::Build::API, Build.PL in Ado distribution directory.

AUTHOR

Красимир Беров (Krasimir Berov)

COPYRIGHT AND LICENSE

Copyright 2013 Красимир Беров (Krasimir Berov).

This program is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License v3 (LGPL-3.0). You may copy, distribute and modify the software provided that modifications are open source. However, software that includes the license may release under a different license.

See http://opensource.org/licenses/lgpl-3.0.html for more information.