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::Command::generate::adoplugin - Generates an Ado::Plugin

SYNOPSIS

On the command-line:

$ bin/ado generate adoplugin --name MyBlog

Programmatically:

use Ado::Command::generate::adoplugin;
my $vhost = Ado::Command::generate::adoplugin->new;
$vhost->run('--name' => 'MyBlog');

DESCRIPTION

Ado::Command::generate::adoplugin generates directory structures for fully functional Ado-specific plugins.

This is a core command, that means it is always enabled and its code a good example for learning to build new commands, you're welcome to fork it.

ATTRIBUTES

Ado::Command::generate::adoplugin inherits all attributes from Ado::Command::generate and implements the following new ones.

description

my $description = $command->description;
$command        = $command->description('Foo!');

Short description of this command, used for the command list.

usage

my $usage = $command->usage;
$command  = $command->usage('Foo!');

Usage information for this command, used for the help screen.

METHODS

Ado::Command::generate::adoplugin inherits all methods from Ado::Command and implements the following new ones.

run

$plugin->run(@ARGV);

Run this command.

SEE ALSO

Mojolicious::Command::generate::plugin, Ado::Command::generate::apache2vhost, Ado::Command::generate::apache2htaccess, Ado::Command::generate, Mojolicious::Command::generate, Getopt::Long, Ado::Command Ado::Manual, Mojolicious, "DEPLOYMENT" in Mojolicious::Guides::Cookbook

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright 2014 Красимир Беров (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.