Security Vulnerabilities in "Safe.pm" and "CGI.pm" Perl Modules



Category :Security
Release Phase :Resolved
Product :Solaris 9 Operating System
Solaris 8 Operating System  
Bug Id :4951799, 6338552  
Date of Workaround Release :23-JAN-2004 
Date of Resolved Release :21-MAR-2006 


Impact

Security vulnerabilities in "Safe.pm" and "CGI.pm" Perl modules may allow the following:

1. The "Safe.pm" Perl module contains a security vulnerability which may allow a local or remote unprivileged user to bypass compartment access controls if a Perl application utilizes the "Safe.pm" Perl module.

2. The "CGI.pm" Perl module contains a cross site scripting security vulnerability, see the following URLs for details about cross site scripting and web script vulnerabilities:

Due to this "CGI.pm" cross site scripting vulnerability users may unintentionally execute scripts in their browser written by a remote unprivileged user if they follow untrusted links/URIs in web pages, mail messages, or newsgroup postings. By following these untrusted links/URIs, the remote attacker may be able to execute commands with the privileges of the user who accessed the link/URI.

These issues are described here:


Contributing Factors

These issues can occur in the following releases:

SPARC Platform

x86 Platform

Note: Solaris 10 is not impacted by this issue.

These issues can occur on systems with Perl module Safe.pm version 2.0.7 or earlier or Perl module CGI.pm version 2.94 or earlier. The CGI.pm and Safe.pm Perl modules are both included with the Solaris Perl distribution.

To determine the version of the Safe.pm or the CGI.pm Perl modules, the following commands can be run:

    $ grep VERSION `nawk '/Safe.pm/ {print $1}' /var/sadm/install/contents`
    $ grep VERSION `nawk '/CGI.pm/ {print $1}' /var/sadm/install/contents`

Symptoms

There are no predictable symptoms that would show that the described issue has occurred.


Workaround

Customers should review the above CERT documents in addition to the following URL for information on how to mitigate the risks of these issues including details on hardening web servers, modifying web browsers to disable scripting languages, and advice for developers. See the practices numbered 18-22 at the following URL:


Resolution

These issues are addressed in the following releases:

SPARC Platform

  • Solaris 8 with patch 122091-01 or later
  • Solaris 9 (perl v5.005_03) with patch 121996-01 or later
  • Solaris 9 (perl v5.6.1) with patch 119449-01 or later

x86 Platform

  • Solaris 8 with patch 122092-01 or later
  • Solaris 9 (perl v5.005_03) with patch 121997-02 or later
  • Solaris 9 (perl v5.6.1) with patch 119450-01 or later



Modification History


Date: 21-JUN-2005

Change History

  • State: Resolved
  • Updated Contributing Factors and Relief/Workaround sections

Date: 21-SEP-2005
  • State is not Resolved.
  • Updated Contributing Factors and Resolution sections

Date: 02-FEB-2006
  • Updated BugID field
  • Updated Contributing Factors and Relief/Workaround sections

Date: 13-FEB-2006
  • Updated Contributing Factors, Relief/Workaround, and Resolution sections

Date: 09-MAR-2006
  • Updated Contributing Factors, and Resolution sections

Date: 21-MAR-2006
  • State: Resolved
  • Updated Contributing Factors and Resolution sections



Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 200205
Article Type : Sun Alert
Last reviewed : 2006-05-22
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1