RHEL 6 : mod_wsgi (RHSA-2014:0788)

high Nessus Plugin ID 76243

Synopsis

The remote Red Hat host is missing one or more security updates.

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.

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 Robert 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.

Solution

Update the affected mod_wsgi and / or mod_wsgi-debuginfo packages.

See Also

https://access.redhat.com/errata/RHSA-2014:0788

https://access.redhat.com/security/cve/cve-2014-0240

https://access.redhat.com/security/cve/cve-2014-0242

Plugin Details

Severity: High

ID: 76243

File Name: redhat-RHSA-2014-0788.nasl

Version: 1.14

Type: local

Agent: unix

Published: 6/26/2014

Updated: 1/14/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Vector: CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:mod_wsgi-debuginfo, cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:enterprise_linux:6.5, p-cpe:/a:redhat:enterprise_linux:mod_wsgi

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 6/25/2014

Vulnerability Publication Date: 5/27/2014

Reference Information

CVE: CVE-2014-0240, CVE-2014-0242

RHSA: 2014:0788