RHEL 7 : mod_wsgi (RHSA-2014:1091)

Medium Nessus Plugin ID 77386

Synopsis

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

Description

An updated mod_wsgi package that fixes one security issue is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link 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.

Red Hat would like to thank Graham Dumpleton for reporting this issue.
Upstream acknowledges Robert Kisteleki as the original reporter.

All mod_wsgi users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.

Solution

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

See Also

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

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

Plugin Details

Severity: Medium

ID: 77386

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

Version: 1.9

Type: local

Agent: unix

Published: 2014/08/26

Updated: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.2

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:mod_wsgi, p-cpe:/a:redhat:enterprise_linux:mod_wsgi-debuginfo, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:7.3, cpe:/o:redhat:enterprise_linux:7.4, cpe:/o:redhat:enterprise_linux:7.5, cpe:/o:redhat:enterprise_linux:7.6

Patch Publication Date: 2014/08/25

Reference Information

CVE: CVE-2014-0240

RHSA: 2014:1091