SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#356409

mod_python vulnerable to information disclosure via crafted URL

Overview

The Apache mod_python module is vulnerable to unintended remote information disclosure using specially crafted URLs.

I. Description

From the mod_python web page:

    Mod_python is an Apache module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.


The mod_python publisher, which allows Python module objects to be called in a URL, contains a subtle flaw in the request handling logic. Unintended information may be leaked by objects which are not meant to be visible.

II. Impact

A remote attacker may be able to craft a URL to obtain script data and information which was not meant to be visible. This could include variable names and values, object data, and more.

III. Solution

Obtain updated packages

mod_python has released updated packages which do not contain this flaw:

    For Apache 1.3: mod_python 2.7.11(or later)
    For Apache 2.0: mod_python 3.0.4 (or later)

These packages can be obtained from the mod_python download page.
A proposed workaround is to set the Apache server to block URLs containing requests that begin with "func_". This is not a definitive solution and may also hinder normal operation of the server.

Systems Affected

VendorStatusDate NotifiedDate Updated
ApacheVulnerable21-Feb-2005
Fedora ProjectVulnerable21-Feb-2005
Gentoo LinuxVulnerable21-Feb-2005
Red Hat Inc.Vulnerable11-Feb-2005
Trustix Secure LinuxVulnerable21-Feb-2005
Ubuntu LinuxVulnerable21-Feb-2005

References


https://rhn.redhat.com/errata/RHSA-2005-104.html
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146655
http://secunia.com/advisories/14244/
http://secunia.com/advisories/14235/
http://security.gentoo.org/glsa/glsa-200502-14.xml
http://www.trustix.org/errata/2005/0003/

Credit

Thanks to Graham Dumpleton and RedHat for reporting this vulnerability.

This document was written by Ken MacInnis.

Other Information

Date Public:2005-02-11
Date First Published:2005-02-21
Date Last Updated:2005-07-06
CERT Advisory: 
CVE-ID(s):CAN-2005-0088
NVD-ID(s):CAN-2005-0088
US-CERT Technical Alerts: 
Metric:1.26
Document Revision:14

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2005 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader