Executive Summary

Summary
Title mod_wsgi: Privilege escalation
Informations
Name GLSA-201412-21 First vendor Publication 2014-12-13
Vendor Gentoo Last vendor Modification 2014-12-13
Severity (Vendor) High Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:H/Au:N/C:C/I:C/A:C)
Cvss Base Score 6.2 Attack Range Local
Cvss Impact Score 10 Attack Complexity High
Cvss Expoit Score 1.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Two vulnerabilities have been found in mod_wsgi, the worst of which could result in local privilege escalation.

Background

mod_wsgi is an Apache2 module for running Python WSGI applications.

Description

Two vulnerabilities have been found in mod_wsgi:

* Error codes returned by setuid are not properly handled (CVE-2014-0240)
* A memory leak exists via the "Content-Type" header (CVE-2014-0242)

Impact

A local attacker may be able to gain escalated privileges. Furthermore, a remote attacker may be able to obtain sensitive information.

Workaround

There is no known workaround at this time.

Resolution

All mod_wsgi users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apache/mod_wsgi-3.5"

References

[ 1 ] CVE-2014-0240 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0240
[ 2 ] CVE-2014-0242 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0242

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-201412-21.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201412-21.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-264 Permissions, Privileges, and Access Controls

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:26476
 
Oval ID: oval:org.mitre.oval:def:26476
Title: RHSA-2014:1091: mod_wsgi security update (Important)
Description: The mod_wsgi adapter is an Apache module that provides a WSGI-compliant interface for hosting Python-based web applications within Apache.
Family: unix Class: patch
Reference(s): RHSA-2014:1091-00
CESA-2014:1091
CVE-2014-0240
Version: 3
Platform(s): Red Hat Enterprise Linux 7
CentOS Linux 7
Product(s): mod_wsgi
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:27261
 
Oval ID: oval:org.mitre.oval:def:27261
Title: ELSA-2014-1091 -- mod_wsgi security update (important)
Description: [3.4-12] - fix possible privilege escalation in setuid() (CVE-2014-0240)
Family: unix Class: patch
Reference(s): ELSA-2014-1091
CVE-2014-0240
Version: 3
Platform(s): Oracle Linux 7
Product(s): mod_wsgi
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 21

Nessus® Vulnerability Scanner

Date Description
2014-12-15 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201412-21.nasl - Type : ACT_GATHER_INFO
2014-10-12 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2014-376.nasl - Type : ACT_GATHER_INFO
2014-10-12 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2014-375.nasl - Type : ACT_GATHER_INFO
2014-08-26 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2014-1091.nasl - Type : ACT_GATHER_INFO
2014-08-26 Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2014-1091.nasl - Type : ACT_GATHER_INFO
2014-08-26 Name : The remote CentOS host is missing a security update.
File : centos_RHSA-2014-1091.nasl - Type : ACT_GATHER_INFO
2014-07-14 Name : The remote web server module is affected by a privilege escalation vulnerabil...
File : mod_wsgi_3_5.nasl - Type : ACT_GATHER_INFO
2014-07-13 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2014-137.nasl - Type : ACT_GATHER_INFO
2014-06-26 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20140625_mod_wsgi_on_SL6_x.nasl - Type : ACT_GATHER_INFO
2014-06-26 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2014-0788.nasl - Type : ACT_GATHER_INFO
2014-06-26 Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2014-0788.nasl - Type : ACT_GATHER_INFO
2014-06-26 Name : The remote CentOS host is missing a security update.
File : centos_RHSA-2014-0788.nasl - Type : ACT_GATHER_INFO
2014-06-18 Name : The remote Fedora host is missing a security update.
File : fedora_2014-6944.nasl - Type : ACT_GATHER_INFO
2014-06-18 Name : The remote Fedora host is missing a security update.
File : fedora_2014-6938.nasl - Type : ACT_GATHER_INFO
2014-06-16 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2014-421.nasl - Type : ACT_GATHER_INFO
2014-05-28 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2937.nasl - Type : ACT_GATHER_INFO
2014-05-27 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-2222-1.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2014-12-16 13:25:46
  • Multiple Updates
2014-12-13 21:22:17
  • First insertion