-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2014.1447
                    Important: mod_wsgi security update
                              26 August 2014

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           mod_wsgi
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Increased Privileges -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-0240  

Reference:         ESB-2014.1037
                   ESB-2014.1036
                   ESB-2014.0829

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2014-1091.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: mod_wsgi security update
Advisory ID:       RHSA-2014:1091-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2014-1091.html
Issue date:        2014-08-25
CVE Names:         CVE-2014-0240 
=====================================================================

1. Summary:

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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - 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.

Red Hat would like to thank Graham Dumpleton for reporting this issue.
Upstream acknowledges Róbert 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.

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/articles/11258

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

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

6. Package List:

Red Hat Enterprise Linux Client Optional (v. 7):

Source:
mod_wsgi-3.4-12.el7_0.src.rpm

x86_64:
mod_wsgi-3.4-12.el7_0.x86_64.rpm
mod_wsgi-debuginfo-3.4-12.el7_0.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
mod_wsgi-3.4-12.el7_0.src.rpm

x86_64:
mod_wsgi-3.4-12.el7_0.x86_64.rpm
mod_wsgi-debuginfo-3.4-12.el7_0.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
mod_wsgi-3.4-12.el7_0.src.rpm

ppc64:
mod_wsgi-3.4-12.el7_0.ppc64.rpm
mod_wsgi-debuginfo-3.4-12.el7_0.ppc64.rpm

s390x:
mod_wsgi-3.4-12.el7_0.s390x.rpm
mod_wsgi-debuginfo-3.4-12.el7_0.s390x.rpm

x86_64:
mod_wsgi-3.4-12.el7_0.x86_64.rpm
mod_wsgi-debuginfo-3.4-12.el7_0.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
mod_wsgi-3.4-12.el7_0.src.rpm

x86_64:
mod_wsgi-3.4-12.el7_0.x86_64.rpm
mod_wsgi-debuginfo-3.4-12.el7_0.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2014-0240.html
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2014 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFT+vujXlSAg2UNWIIRAorQAKC26UmPmmJ5gOM+77Vl4xPlmf7qKQCeJFA+
ffXxKmt2iXk3D8jc+Fhbb10=
=6Vww
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBU/vekBLndAQH1ShLAQIYnA/+LZBNFD41KiYP9RQ5HpgnQh8lAaGoDCfK
ZfL70/j4CvgOmhQ8d+e0m6LfkjE506TQdLDXALawvVFFsxfJAch2X8d5etqBTSrP
mJTidlG65l0LlJahpC58++8T9O6oVq4q25EwrHlD00ccaMjvuC/4ghax8zYfnhOj
zP0jngjMR3KR94hO6RnxRY3/vOS1tVHqt6rwaXAZDIFmFeRhY+2yIM0GAU+gojjK
iEl3eaV/HPRrCH37SJRaaPa/JeVMfFyy0Cl/eR7++7ZbO4fidtlVlj7ipTtqIk5o
Z9flXJzzhBrN8JI1fOVVIfGgPdXEEDbqR9xXuvPsnRWr7nW7fzofmiatYSwJwXxG
qkaU0YcW4P0GuXurR8q+8TSogth5b/sYRpehcpG10gmAQ0+N5FsFKyU5fAWDoQha
rMe0K0AKt1QjqoYEaxW6BA7HgjFTUcxnobQH6f8apKMMH0FGEMqHC9RDu7tAksoT
bu826SlpbgjeMAyOD8xEuV1/nbzRREfrqShPSc/Jk2S8QwGWfQLYaM+RP+6r0U9Y
/8kVp3ZO5Mmi5dIXtbpfsPAJSxWEi755RCubH7eX0bkN5kEYV4UmMj2dpYJiM1Sz
EZ/GdwqTBLW/ncAZ6k81JdWi9Il8H2ipUS9jFwcTjD9g9iiRnYk1Qf3b6QQ/30UQ
eaOxgyM/Wp8=
=bmvM
-----END PGP SIGNATURE-----