RedHat: 'mod_python' Unauthorized access vulnerability
Posted by LinuxSecurity.com Team   
RedHat Linux Updated mod_python packages have been made available for Red Hat Linux 7.2.These updates close a security issue in mod_python which allows thepublisher handler to use modules which have only been indirectly imported.

---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated mod_python packages available
Advisory ID:       RHSA-2002:070-06
Issue date:        2002-04-22
Updated on:        2002-05-02
Product:           Red Hat Linux
Keywords:          mod_python publisher imported modules
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated mod_python packages have been made available for Red Hat Linux 7.2.
These updates close a security issue in mod_python which allows the
publisher handler to use modules which have only been indirectly imported.

2. Relevant releases/architectures:

Red Hat Linux 7.2 - i386, ia64

3. Problem description:

mod_python is a module that embeds the Python language interpreter within
the Apache Web server.  

mod_python versions 2.7.6 and earlier allow a module which is indirectly
imported by a published module to then be accessed by the publisher
handler.  This could allow a remote attacker to abuse imported modules
leading to file modifications or more serious breaches.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2002-0185 to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed  (http://bugzilla.Red Hat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 7.2:

SRPMS: 
ftp://updates.Red Hat.com/7.2/en/os/SRPMS/mod_python-2.7.8-1.src.rpm

i386: 
ftp://updates.Red Hat.com/7.2/en/os/i386/mod_python-2.7.8-1.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.2/en/os/ia64/mod_python-2.7.8-1.ia64.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
0dba77dd76542100d00b7385d0639dc7 7.2/en/os/SRPMS/mod_python-2.7.8-1.src.rpm
9b9e4a43002cd22f9a8df7fd9784e925 7.2/en/os/i386/mod_python-2.7.8-1.i386.rpm
ce447fdf0378e5d5cc10e9ce187e339e 7.2/en/os/ia64/mod_python-2.7.8-1.ia64.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg 

8. References:
 
http://www.modpython.org/live/mod_python-2.7.8/NEWS 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0185


Copyright(c) 2000, 2001, 2002 Red Hat, Inc.