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

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

                               ESB-2012.0464
                       Critical: php security update
                                14 May 2012

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

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

Product:           php
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 5
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-1823  

Reference:         ASB-2012.0066
                   ESB-2012.0461
                   ESB-2012.0454
                   ESB-2012.0439

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2012-0570.html

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

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

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

Synopsis:          Critical: php security update
Advisory ID:       RHSA-2012:0570-01
Product:           Red Hat Application Stack
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-0570.html
Issue date:        2012-05-11
CVE Names:         CVE-2012-1823 
=====================================================================

1. Summary:

Updated php packages that fix one security issue are now available for
Red Hat Application Stack v2.

The Red Hat Security Response Team has rated this update as having critical
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 Application Stack v2 for Enterprise Linux (v.5) - i386, x86_64

3. Description:

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.

A flaw was found in the way the php-cgi executable processed command line
arguments when running in CGI mode. A remote attacker could send a
specially-crafted request to a PHP script that would result in the query
string being parsed by php-cgi as command line options and arguments. This
could lead to the disclosure of the script's source code or arbitrary code
execution with the privileges of the PHP interpreter. (CVE-2012-1823)

Red Hat is aware that a public exploit for this issue is available that
allows remote code execution in affected PHP CGI configurations. This flaw
does not affect the default configuration using the PHP module for Apache
httpd to handle PHP scripts.

All php users should upgrade to these updated packages, which contain a
backported patch to resolve this issue. After installing the updated
packages, the httpd daemon must be restarted for the update to take effect.

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

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

818607 - CVE-2012-1823 php: command line arguments injection when run in CGI mode (VU#520827)

6. Package List:

Red Hat Application Stack v2 for Enterprise Linux (v.5):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHWAS/SRPMS/php-5.2.10-2.el5s2.src.rpm

i386:
php-5.2.10-2.el5s2.i386.rpm
php-bcmath-5.2.10-2.el5s2.i386.rpm
php-cli-5.2.10-2.el5s2.i386.rpm
php-common-5.2.10-2.el5s2.i386.rpm
php-dba-5.2.10-2.el5s2.i386.rpm
php-debuginfo-5.2.10-2.el5s2.i386.rpm
php-devel-5.2.10-2.el5s2.i386.rpm
php-gd-5.2.10-2.el5s2.i386.rpm
php-imap-5.2.10-2.el5s2.i386.rpm
php-ldap-5.2.10-2.el5s2.i386.rpm
php-mbstring-5.2.10-2.el5s2.i386.rpm
php-mysql-5.2.10-2.el5s2.i386.rpm
php-ncurses-5.2.10-2.el5s2.i386.rpm
php-odbc-5.2.10-2.el5s2.i386.rpm
php-pdo-5.2.10-2.el5s2.i386.rpm
php-pgsql-5.2.10-2.el5s2.i386.rpm
php-snmp-5.2.10-2.el5s2.i386.rpm
php-soap-5.2.10-2.el5s2.i386.rpm
php-xml-5.2.10-2.el5s2.i386.rpm
php-xmlrpc-5.2.10-2.el5s2.i386.rpm

x86_64:
php-5.2.10-2.el5s2.x86_64.rpm
php-bcmath-5.2.10-2.el5s2.x86_64.rpm
php-cli-5.2.10-2.el5s2.x86_64.rpm
php-common-5.2.10-2.el5s2.x86_64.rpm
php-dba-5.2.10-2.el5s2.x86_64.rpm
php-debuginfo-5.2.10-2.el5s2.x86_64.rpm
php-devel-5.2.10-2.el5s2.x86_64.rpm
php-gd-5.2.10-2.el5s2.x86_64.rpm
php-imap-5.2.10-2.el5s2.x86_64.rpm
php-ldap-5.2.10-2.el5s2.x86_64.rpm
php-mbstring-5.2.10-2.el5s2.x86_64.rpm
php-mysql-5.2.10-2.el5s2.x86_64.rpm
php-ncurses-5.2.10-2.el5s2.x86_64.rpm
php-odbc-5.2.10-2.el5s2.x86_64.rpm
php-pdo-5.2.10-2.el5s2.x86_64.rpm
php-pgsql-5.2.10-2.el5s2.x86_64.rpm
php-snmp-5.2.10-2.el5s2.x86_64.rpm
php-soap-5.2.10-2.el5s2.x86_64.rpm
php-xml-5.2.10-2.el5s2.x86_64.rpm
php-xmlrpc-5.2.10-2.el5s2.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-2012-1823.html
https://access.redhat.com/security/updates/classification/#critical

8. Contact:

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

Copyright 2012 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFPrU95XlSAg2UNWIIRAvCJAJ9Xsx1AouXzyUy8Uk7r/EK5Kj7OxgCginHO
D8xS8RU4OMB0WfkjF0AU/bg=
=lnDn
- -----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

iQIVAwUBT7BVaO4yVqjM2NGpAQIKxhAAiHa/EuTphPjtKbtcXfbC2+zLcy3Pdpdf
9UwWrdDaE0pzUEAD7+aFil80OLMHhEo6fcAv1OIm9HgzYHaLInAiUA3PAnPDV64t
NlBTAlboqWYht06Etv627hluD06+SfP8hD07J+2X9+z0pzdpCbHFERwLK4fY7ecZ
EoTV3FQKskBKVJvwhMrfEk55uNt9pSPKLuvbsBCOB51YJoK0ngLROh/bi3dpI6fO
HXOXI4BJPPLPzZfgD1KdGfRIsMBbVwKzdGfb56JSIOWhS6LHZM2/5FcFbEYRYVZa
MXMZangs5t5OxcrKY0m4vxrGYJ55bpox4qCrPSFfEQsnnywlT2/ZtD1/vYkKFnMO
sOewo1FdgrEIOGwU+ODyzE/0dH2ILLTdU3CNll+PCo8KqAireDSPTh9MlVgkPZDD
SnmttYsSqUohvniA/figw7kv2DtF2aqYSo6ArrjbnvN1f5z5SeWMOCmB4b5jP1v5
hhcUOtu3C0jUt7KORO7T4yVzGyPqat+ybHnbG5RScc6LUiQG4YGzTgr/cEiiSlJV
gKURnbzXGPPB8nZBK6dFDDNtQGxhpLQstnFMkGqAyidrQItYYT5Nt6lWWMGoR2Us
f9h1nAyfoXMKcU+oR/PItycQjGIsjmH235aOO28NQo9GjGYtkpAqYXusnMvi9qOp
zgJ186oWCtw=
=1HFC
-----END PGP SIGNATURE-----