Executive Summary

Summary
Title mod_wsgi security update
Informations
Name RHSA-2014:0788 First vendor Publication 2014-06-25
Vendor RedHat Last vendor Modification 2014-06-25
Severity (Vendor) Important Revision 01

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

Problem Description:

An updated mod_wsgi package that fixes two security issues is now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64 Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64 Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

3. Description:

The mod_wsgi adapter is an Apache module that provides a WSGI-compliant interface for hosting Python-based web applications within Apache.

It was found that mod_wsgi did not properly drop privileges if the call to setuid() failed. If mod_wsgi was set up to allow unprivileged users to run WSGI applications, a local user able to run a WSGI application could possibly use this flaw to escalate their privileges on the system. (CVE-2014-0240)

Note: mod_wsgi is not intended to provide privilege separation for WSGI applications. Systems relying on mod_wsgi to limit or sandbox the privileges of mod_wsgi applications should migrate to a different solution with proper privilege separation.

It was discovered that mod_wsgi could leak memory of a hosted web application via the "Content-Type" header. A remote attacker could possibly use this flaw to disclose limited portions of the web application's memory. (CVE-2014-0242)

Red Hat would like to thank Graham Dumpleton for reporting these issues. Upstream acknowledges Róbert Kisteleki as the original reporter of CVE-2014-0240, and Buck Golemon as the original reporter of CVE-2014-0242.

All mod_wsgi users are advised to upgrade to this updated package, which contains backported patches to correct these issues.

4. Solution:

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

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1101863 - CVE-2014-0240 mod_wsgi: possible privilege escalation in setuid() failure scenarios 1101873 - CVE-2014-0242 mod_wsgi: information leak

Original Source

Url : https://rhn.redhat.com/errata/RHSA-2014-0788.html

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
2
3
Date Informations
2016-04-27 02:32:41
  • Multiple Updates
2014-07-14 13:26:00
  • Multiple Updates
2014-06-27 13:26:21
  • Multiple Updates
2014-06-25 21:25:12
  • First insertion