what you don't know can hurt you

Red Hat Security Advisory 2012-0570-01

Red Hat Security Advisory 2012-0570-01
Posted May 11, 2012
Authored by Red Hat | Site access.redhat.com

Red Hat Security Advisory 2012-0570-01 - 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. 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.

tags | advisory, remote, web, arbitrary, cgi, php, code execution
systems | linux, redhat
advisories | CVE-2012-1823
MD5 | 389ac7e915aacd5b11e598fba17e61a7

Red Hat Security Advisory 2012-0570-01

Change Mirror Download
-----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-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

August 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    10 Files
  • 2
    Aug 2nd
    8 Files
  • 3
    Aug 3rd
    2 Files
  • 4
    Aug 4th
    1 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    79 Files
  • 7
    Aug 7th
    16 Files
  • 8
    Aug 8th
    10 Files
  • 9
    Aug 9th
    10 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    6 Files
  • 12
    Aug 12th
    26 Files
  • 13
    Aug 13th
    15 Files
  • 14
    Aug 14th
    19 Files
  • 15
    Aug 15th
    52 Files
  • 16
    Aug 16th
    11 Files
  • 17
    Aug 17th
    1 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close