copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2014.1036 - [RedHat] mod_wsgi: Multiple vulnerabilities

Date: 26 June 2014
References: ESB-2014.0829  ESB-2014.1037  ESB-2014.1447  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2014.1036
                    Important: mod_wsgi security update
                               26 June 2014

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

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

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

Reference:         ESB-2014.0829

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

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

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

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

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

1. Summary:

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

6. Package List:

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
mod_wsgi-3.2-6.el6_5.src.rpm

i386:
mod_wsgi-3.2-6.el6_5.i686.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.i686.rpm

x86_64:
mod_wsgi-3.2-6.el6_5.x86_64.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
mod_wsgi-3.2-6.el6_5.src.rpm

x86_64:
mod_wsgi-3.2-6.el6_5.x86_64.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
mod_wsgi-3.2-6.el6_5.src.rpm

i386:
mod_wsgi-3.2-6.el6_5.i686.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.i686.rpm

ppc64:
mod_wsgi-3.2-6.el6_5.ppc64.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.ppc64.rpm

s390x:
mod_wsgi-3.2-6.el6_5.s390x.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.s390x.rpm

x86_64:
mod_wsgi-3.2-6.el6_5.x86_64.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
mod_wsgi-3.2-6.el6_5.src.rpm

i386:
mod_wsgi-3.2-6.el6_5.i686.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.i686.rpm

x86_64:
mod_wsgi-3.2-6.el6_5.x86_64.rpm
mod_wsgi-debuginfo-3.2-6.el6_5.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://www.redhat.com/security/data/cve/CVE-2014-0242.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.4.4 (GNU/Linux)

iD8DBQFTqwhXXlSAg2UNWIIRAuOQAJ9oXAFcIhqRdUyken6/RIV6N6whPwCgpPap
1u+qQOjPAKjHBRCGRuS3k3I=
=uUHk
- -----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

iQIVAwUBU6uXFBLndAQH1ShLAQK6zg/5AdBe7mAvTCVDe/zNjmkd4mCz/totgxkl
p8oMguO/F8gH/Xipnd+DvRGpzuG7Lx2SXJdFNG/hyEFPTAAGEzlTt0k66ejTK8e/
p3Xwzf7CVlYYIJsz0idp4iITzmTdvMWIyWpsREtV2oaX9N0NiqShrqKmmmNIdQjc
qyq0INC4ysbe1xkMS5gGCMehX3C4qv/vo6bn1kIF7gRCd7CgR+7CdQPySJbUvGlQ
zd+1tGGXbrZLUuUnDMhMINeo02vnHcIrjxLf9k863oTubKfeS8Cgz5WjVML7FmFw
fo3qiKW2nnmfZYBBCaDJqjHjXgszJJjzQDYJDZ1Z9VqDWUJsF4htdL5GvHpx+3F3
M+PTNYbA1I3cIjUtmaFviyi6e8yvLOzlj/KiV5pYVenVaSdMOzTPdH755CnJWkH2
E3FmoGzP5mFMQVrTwf8U0IlGt0YUH48N6l6VK8gTr8n/gHxfCs037OXNpjS/t3ac
ecDf/BOI0B8iIhNzhwn/m8WdGqaclBYKEKUqOcT3sMtpJhr436ne9VuneVzpX7vj
oH1H0R0el6xbAsJ4ZbilbY1tLWcQZvwkUZ21AdZXFxUdVQS0GXW4Xj5rdBkqrWVC
LQyM7UCokExjX3qUq7Og6xMKTfT4vWXC5NNuQ68Iu33eN0sctMJq9OrJQb6TxX/3
GzGcGR1flz8=
=i3yJ
-----END PGP SIGNATURE-----