Security Advisories (1)
CVE-2026-5085 (2026-04-13)

Solstice::Session versions through 1440 for Perl generates session ids insecurely. The _generateSessionID method returns an MD5 digest seeded by the epoch time, a random hash reference, a call to the built-in rand() function and the process id. The same method is used in the _generateID method in Solstice::Subsession, which is part of the same distribution. The epoch time may be guessed, if it is not leaked in the HTTP Date header. Stringified hash refences will contain predictable content. The built-in rand() function is seeded by 16-bits and is unsuitable for security purposes. The process id comes from a small set of numbers. Predictable session ids could allow an attacker to gain access to systems.

NAME

Solstice - Solstice is a Web application development framework for Perl. Based on the MVC programming paradigm, it provides a sensible layout for Web applications that helps you write applications faster and with fewer mistakes.

SYNOPSIS

my $lang_service = $solstice_subclass->getLangService();
my $button_service = $solstice_subclass->getButtonService();
my $message_service = $solstice_subclass->getMessageService();
my $config_service = $solstice_subclass->getConfigService();
my $preference_service = $solstice_subclass->getPreferenceService();
$solstice_subclass->log($log_message);

DESCRIPTION

Solstice is a Web application development framework for Perl. Based on the MVC programming paradigm, it provides a sensible layout for Web applications that helps you write applications faster and with fewer mistakes.

For more information, see http://solstice.eplt.washington.edu.

This is a virtual class whose sole job is to provide a common platform of functionality for the various parts of the Solstice framework. While this can be subclassed directly, you probably want to subclass from something more directly useful, like Solstice::Model, Solstice::View, or Solstice::Controller.

Export

No symbols exported.

Methods

new()
loadModule( $package_name_or_filename )

Dynamically loads the given module.

log(\%params)

Log a message to a specified log file. Wrapper around Solstice::LogService

warn($msg)

Print a message on STDERR, along with information about the caller

debug($tag, $mesg)
getBaseURL {
getServerURL()
getAppBaseURL($namespace)

Returns the url for the application of the given namespace.

getAppRestURL($namespace)

Returns the root of the applications REST web services

getConfigService()
getTemporaryFileService()
getButtonService()
getLogService()
getMessageService()
getJavascriptService()
getContentTypeService()
makeURL($proto, $host, $dir, $2nd_dir, [$args hashref] )
getLangService()
getPreferenceService()
getUserService()
getNavigationService()
getOnloadService()
getIncludeService()
getIconService()
getHelpService()

Attribute Validation Methods

isValidInteger($str)
isValidPositiveInteger($str)
isValidNonNegativeInteger($str)
isValidNumber($str)
isValidPositiveNumber($str)
isValidString($str)
isValidEmail($str)
isValidURL($str)
isValidBoolean($str)
isValidObject($obj, $class)
isValidDateTime($obj)
isValidPerson($obj)
isValidGroup($obj)
isValidList($obj)
isValidTree($obj)
isValidArrayRef($ref)
isValidHashRef($ref)

Private Convenience Methods

_dirCheck($dir)

Creates the passed directory and dies if this isn't possible

Modules Used

Solstice::Service, Solstice::LogService, Solstice::UserService, Solstice::ValidationParam, Solstice::CGI, Data::FormValidator.

AUTHOR

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Version $Revision: 1410 $

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.