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::Control::Ado::Users - The controller to manage users.

SYNOPSIS

#in your browser go to
http://your-host/ado-users/list
#or
http://your-host/ado-users
#and
http://your-host/ado-users/edit/$id
#and
http://your-host/ado-users/add

DESCRIPTION

Ado::Control::Ado::Users is the controller class for managing users in the back-office application.

ATTRIBUTES

Ado::Control::Ado::Users inherits all the attributes from <Ado::Control::Ado> and defines the following ones.

METHODS/ACTIONS

list

Displays the users this system has. Uses the request parameters limit and offset to display a range of items starting at offset and ending at offset+limit. This method serves the resource /ado-users/list.json. If other format is requested returns status 415 with Content-location header pointing to the proper URI. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16 and http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14.

add

Adds a user to the table users. Not implemented yet

show

Displays a user. Not implemented yet

update

Updates a user. Not implemented yet

disable

Disables a user. Not implemented yet

SPONSORS

The original author

SEE ALSO

Ado::Control::Ado::Default, Ado::Control, Mojolicious::Controller, "Model_View_Controller" in Mojolicious::Guides::Growing, "Controller_class" in Mojolicious::Guides::Growing

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.