what you don't know can hurt you

Red Hat Security Advisory 2014-1327-01

Red Hat Security Advisory 2014-1327-01
Posted Sep 30, 2014
Authored by Red Hat | Site access.redhat.com

Red Hat Security Advisory 2014-1327-01 - PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server. PHP's fileinfo module provides functions used to identify a particular file according to the type of data contained by the file. A buffer overflow flaw was found in the way the File Information extension processed certain Pascal strings. A remote attacker able to make a PHP application using fileinfo convert a specially crafted Pascal string provided by an image file could cause that application to crash. Multiple flaws were found in the File Information extension regular expression rules for detecting various files. A remote attacker could use either of these flaws to cause a PHP application using fileinfo to consume an excessive amount of CPU.

tags | advisory, remote, web, overflow, php
systems | linux, redhat
advisories | CVE-2014-2497, CVE-2014-3478, CVE-2014-3538, CVE-2014-3587, CVE-2014-3597, CVE-2014-4670, CVE-2014-4698, CVE-2014-5120
MD5 | 1bfdd2be975db73bc6235fad56471532

Red Hat Security Advisory 2014-1327-01

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Synopsis: Moderate: php security update
Advisory ID: RHSA-2014:1327-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2014-1327.html
Issue date: 2014-09-30
CVE Names: CVE-2014-2497 CVE-2014-3478 CVE-2014-3538
CVE-2014-3587 CVE-2014-3597 CVE-2014-4670
CVE-2014-4698 CVE-2014-5120
=====================================================================

1. Summary:

Updated php packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate 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 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 Server Optional (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server. PHP's fileinfo module provides functions used to identify a
particular file according to the type of data contained by the file.

A buffer overflow flaw was found in the way the File Information (fileinfo)
extension processed certain Pascal strings. A remote attacker able to make
a PHP application using fileinfo convert a specially crafted Pascal string
provided by an image file could cause that application to crash.
(CVE-2014-3478)

Multiple flaws were found in the File Information (fileinfo) extension
regular expression rules for detecting various files. A remote attacker
could use either of these flaws to cause a PHP application using fileinfo
to consume an excessive amount of CPU. (CVE-2014-3538)

It was found that the fix for CVE-2012-1571 was incomplete; the File
Information (fileinfo) extension did not correctly parse certain Composite
Document Format (CDF) files. A remote attacker could use this flaw to crash
a PHP application using fileinfo via a specially crafted CDF file.
(CVE-2014-3587)

It was found that PHP's gd extension did not properly handle file names
with a null character. A remote attacker could possibly use this flaw to
make a PHP application access unexpected files and bypass intended file
system access restrictions. (CVE-2014-5120)

A NULL pointer dereference flaw was found in the gdImageCreateFromXpm()
function of PHP's gd extension. A remote attacker could use this flaw to
crash a PHP application using gd via a specially crafted X PixMap (XPM)
file. (CVE-2014-2497)

Multiple buffer over-read flaws were found in the php_parserr() function of
PHP. A malicious DNS server or a man-in-the-middle attacker could possibly
use this flaw to execute arbitrary code as the PHP interpreter if a PHP
application used the dns_get_record() function to perform a DNS query.
(CVE-2014-3597)

Two use-after-free flaws were found in the way PHP handled certain Standard
PHP Library (SPL) Iterators and ArrayIterators. A malicious script author
could possibly use either of these flaws to disclose certain portions of
server memory. (CVE-2014-4670, CVE-2014-4698)

The CVE-2014-3478 issue was discovered by Francisco Alonso of Red Hat
Product Security, the CVE-2014-3538 issue was discovered by Jan Kaluža of
the Red Hat Web Stack Team, and the CVE-2014-3597 issue was discovered by
David Kutálek of the Red Hat BaseOS QE.

All php users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. 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/articles/11258

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

1076676 - CVE-2014-2497 gd: NULL pointer dereference in gdImageCreateFromXpm()
1098222 - CVE-2014-3538 file: unrestricted regular expression matching
1104863 - CVE-2014-3478 file: mconvert incorrect handling of truncated pascal string size
1120259 - CVE-2014-4698 php: ArrayIterator use-after-free due to object change during sorting
1120266 - CVE-2014-4670 php: SPL Iterators use-after-free
1128587 - CVE-2014-3587 file: incomplete fix for CVE-2012-1571 in cdf_read_property_info
1132589 - CVE-2014-3597 php: multiple buffer over-reads in php_parserr
1132793 - CVE-2014-5120 php: gd extension NUL byte injection in file names

6. Package List:

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

Source:
php-5.4.16-23.el7_0.1.src.rpm

x86_64:
php-5.4.16-23.el7_0.1.x86_64.rpm
php-bcmath-5.4.16-23.el7_0.1.x86_64.rpm
php-cli-5.4.16-23.el7_0.1.x86_64.rpm
php-common-5.4.16-23.el7_0.1.x86_64.rpm
php-dba-5.4.16-23.el7_0.1.x86_64.rpm
php-debuginfo-5.4.16-23.el7_0.1.x86_64.rpm
php-devel-5.4.16-23.el7_0.1.x86_64.rpm
php-embedded-5.4.16-23.el7_0.1.x86_64.rpm
php-enchant-5.4.16-23.el7_0.1.x86_64.rpm
php-fpm-5.4.16-23.el7_0.1.x86_64.rpm
php-gd-5.4.16-23.el7_0.1.x86_64.rpm
php-intl-5.4.16-23.el7_0.1.x86_64.rpm
php-ldap-5.4.16-23.el7_0.1.x86_64.rpm
php-mbstring-5.4.16-23.el7_0.1.x86_64.rpm
php-mysql-5.4.16-23.el7_0.1.x86_64.rpm
php-mysqlnd-5.4.16-23.el7_0.1.x86_64.rpm
php-odbc-5.4.16-23.el7_0.1.x86_64.rpm
php-pdo-5.4.16-23.el7_0.1.x86_64.rpm
php-pgsql-5.4.16-23.el7_0.1.x86_64.rpm
php-process-5.4.16-23.el7_0.1.x86_64.rpm
php-pspell-5.4.16-23.el7_0.1.x86_64.rpm
php-recode-5.4.16-23.el7_0.1.x86_64.rpm
php-snmp-5.4.16-23.el7_0.1.x86_64.rpm
php-soap-5.4.16-23.el7_0.1.x86_64.rpm
php-xml-5.4.16-23.el7_0.1.x86_64.rpm
php-xmlrpc-5.4.16-23.el7_0.1.x86_64.rpm

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

Source:
php-5.4.16-23.el7_0.1.src.rpm

x86_64:
php-5.4.16-23.el7_0.1.x86_64.rpm
php-bcmath-5.4.16-23.el7_0.1.x86_64.rpm
php-cli-5.4.16-23.el7_0.1.x86_64.rpm
php-common-5.4.16-23.el7_0.1.x86_64.rpm
php-dba-5.4.16-23.el7_0.1.x86_64.rpm
php-debuginfo-5.4.16-23.el7_0.1.x86_64.rpm
php-devel-5.4.16-23.el7_0.1.x86_64.rpm
php-embedded-5.4.16-23.el7_0.1.x86_64.rpm
php-enchant-5.4.16-23.el7_0.1.x86_64.rpm
php-fpm-5.4.16-23.el7_0.1.x86_64.rpm
php-gd-5.4.16-23.el7_0.1.x86_64.rpm
php-intl-5.4.16-23.el7_0.1.x86_64.rpm
php-ldap-5.4.16-23.el7_0.1.x86_64.rpm
php-mbstring-5.4.16-23.el7_0.1.x86_64.rpm
php-mysql-5.4.16-23.el7_0.1.x86_64.rpm
php-mysqlnd-5.4.16-23.el7_0.1.x86_64.rpm
php-odbc-5.4.16-23.el7_0.1.x86_64.rpm
php-pdo-5.4.16-23.el7_0.1.x86_64.rpm
php-pgsql-5.4.16-23.el7_0.1.x86_64.rpm
php-process-5.4.16-23.el7_0.1.x86_64.rpm
php-pspell-5.4.16-23.el7_0.1.x86_64.rpm
php-recode-5.4.16-23.el7_0.1.x86_64.rpm
php-snmp-5.4.16-23.el7_0.1.x86_64.rpm
php-soap-5.4.16-23.el7_0.1.x86_64.rpm
php-xml-5.4.16-23.el7_0.1.x86_64.rpm
php-xmlrpc-5.4.16-23.el7_0.1.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
php-5.4.16-23.el7_0.1.src.rpm

ppc64:
php-5.4.16-23.el7_0.1.ppc64.rpm
php-cli-5.4.16-23.el7_0.1.ppc64.rpm
php-common-5.4.16-23.el7_0.1.ppc64.rpm
php-debuginfo-5.4.16-23.el7_0.1.ppc64.rpm
php-gd-5.4.16-23.el7_0.1.ppc64.rpm
php-ldap-5.4.16-23.el7_0.1.ppc64.rpm
php-mysql-5.4.16-23.el7_0.1.ppc64.rpm
php-odbc-5.4.16-23.el7_0.1.ppc64.rpm
php-pdo-5.4.16-23.el7_0.1.ppc64.rpm
php-pgsql-5.4.16-23.el7_0.1.ppc64.rpm
php-process-5.4.16-23.el7_0.1.ppc64.rpm
php-recode-5.4.16-23.el7_0.1.ppc64.rpm
php-soap-5.4.16-23.el7_0.1.ppc64.rpm
php-xml-5.4.16-23.el7_0.1.ppc64.rpm
php-xmlrpc-5.4.16-23.el7_0.1.ppc64.rpm

s390x:
php-5.4.16-23.el7_0.1.s390x.rpm
php-cli-5.4.16-23.el7_0.1.s390x.rpm
php-common-5.4.16-23.el7_0.1.s390x.rpm
php-debuginfo-5.4.16-23.el7_0.1.s390x.rpm
php-gd-5.4.16-23.el7_0.1.s390x.rpm
php-ldap-5.4.16-23.el7_0.1.s390x.rpm
php-mysql-5.4.16-23.el7_0.1.s390x.rpm
php-odbc-5.4.16-23.el7_0.1.s390x.rpm
php-pdo-5.4.16-23.el7_0.1.s390x.rpm
php-pgsql-5.4.16-23.el7_0.1.s390x.rpm
php-process-5.4.16-23.el7_0.1.s390x.rpm
php-recode-5.4.16-23.el7_0.1.s390x.rpm
php-soap-5.4.16-23.el7_0.1.s390x.rpm
php-xml-5.4.16-23.el7_0.1.s390x.rpm
php-xmlrpc-5.4.16-23.el7_0.1.s390x.rpm

x86_64:
php-5.4.16-23.el7_0.1.x86_64.rpm
php-cli-5.4.16-23.el7_0.1.x86_64.rpm
php-common-5.4.16-23.el7_0.1.x86_64.rpm
php-debuginfo-5.4.16-23.el7_0.1.x86_64.rpm
php-gd-5.4.16-23.el7_0.1.x86_64.rpm
php-ldap-5.4.16-23.el7_0.1.x86_64.rpm
php-mysql-5.4.16-23.el7_0.1.x86_64.rpm
php-odbc-5.4.16-23.el7_0.1.x86_64.rpm
php-pdo-5.4.16-23.el7_0.1.x86_64.rpm
php-pgsql-5.4.16-23.el7_0.1.x86_64.rpm
php-process-5.4.16-23.el7_0.1.x86_64.rpm
php-recode-5.4.16-23.el7_0.1.x86_64.rpm
php-soap-5.4.16-23.el7_0.1.x86_64.rpm
php-xml-5.4.16-23.el7_0.1.x86_64.rpm
php-xmlrpc-5.4.16-23.el7_0.1.x86_64.rpm

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

ppc64:
php-bcmath-5.4.16-23.el7_0.1.ppc64.rpm
php-dba-5.4.16-23.el7_0.1.ppc64.rpm
php-debuginfo-5.4.16-23.el7_0.1.ppc64.rpm
php-devel-5.4.16-23.el7_0.1.ppc64.rpm
php-embedded-5.4.16-23.el7_0.1.ppc64.rpm
php-enchant-5.4.16-23.el7_0.1.ppc64.rpm
php-fpm-5.4.16-23.el7_0.1.ppc64.rpm
php-intl-5.4.16-23.el7_0.1.ppc64.rpm
php-mbstring-5.4.16-23.el7_0.1.ppc64.rpm
php-mysqlnd-5.4.16-23.el7_0.1.ppc64.rpm
php-pspell-5.4.16-23.el7_0.1.ppc64.rpm
php-snmp-5.4.16-23.el7_0.1.ppc64.rpm

s390x:
php-bcmath-5.4.16-23.el7_0.1.s390x.rpm
php-dba-5.4.16-23.el7_0.1.s390x.rpm
php-debuginfo-5.4.16-23.el7_0.1.s390x.rpm
php-devel-5.4.16-23.el7_0.1.s390x.rpm
php-embedded-5.4.16-23.el7_0.1.s390x.rpm
php-enchant-5.4.16-23.el7_0.1.s390x.rpm
php-fpm-5.4.16-23.el7_0.1.s390x.rpm
php-intl-5.4.16-23.el7_0.1.s390x.rpm
php-mbstring-5.4.16-23.el7_0.1.s390x.rpm
php-mysqlnd-5.4.16-23.el7_0.1.s390x.rpm
php-pspell-5.4.16-23.el7_0.1.s390x.rpm
php-snmp-5.4.16-23.el7_0.1.s390x.rpm

x86_64:
php-bcmath-5.4.16-23.el7_0.1.x86_64.rpm
php-dba-5.4.16-23.el7_0.1.x86_64.rpm
php-debuginfo-5.4.16-23.el7_0.1.x86_64.rpm
php-devel-5.4.16-23.el7_0.1.x86_64.rpm
php-embedded-5.4.16-23.el7_0.1.x86_64.rpm
php-enchant-5.4.16-23.el7_0.1.x86_64.rpm
php-fpm-5.4.16-23.el7_0.1.x86_64.rpm
php-intl-5.4.16-23.el7_0.1.x86_64.rpm
php-mbstring-5.4.16-23.el7_0.1.x86_64.rpm
php-mysqlnd-5.4.16-23.el7_0.1.x86_64.rpm
php-pspell-5.4.16-23.el7_0.1.x86_64.rpm
php-snmp-5.4.16-23.el7_0.1.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
php-5.4.16-23.el7_0.1.src.rpm

x86_64:
php-5.4.16-23.el7_0.1.x86_64.rpm
php-cli-5.4.16-23.el7_0.1.x86_64.rpm
php-common-5.4.16-23.el7_0.1.x86_64.rpm
php-debuginfo-5.4.16-23.el7_0.1.x86_64.rpm
php-gd-5.4.16-23.el7_0.1.x86_64.rpm
php-ldap-5.4.16-23.el7_0.1.x86_64.rpm
php-mysql-5.4.16-23.el7_0.1.x86_64.rpm
php-odbc-5.4.16-23.el7_0.1.x86_64.rpm
php-pdo-5.4.16-23.el7_0.1.x86_64.rpm
php-pgsql-5.4.16-23.el7_0.1.x86_64.rpm
php-process-5.4.16-23.el7_0.1.x86_64.rpm
php-recode-5.4.16-23.el7_0.1.x86_64.rpm
php-soap-5.4.16-23.el7_0.1.x86_64.rpm
php-xml-5.4.16-23.el7_0.1.x86_64.rpm
php-xmlrpc-5.4.16-23.el7_0.1.x86_64.rpm

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

x86_64:
php-bcmath-5.4.16-23.el7_0.1.x86_64.rpm
php-dba-5.4.16-23.el7_0.1.x86_64.rpm
php-debuginfo-5.4.16-23.el7_0.1.x86_64.rpm
php-devel-5.4.16-23.el7_0.1.x86_64.rpm
php-embedded-5.4.16-23.el7_0.1.x86_64.rpm
php-enchant-5.4.16-23.el7_0.1.x86_64.rpm
php-fpm-5.4.16-23.el7_0.1.x86_64.rpm
php-intl-5.4.16-23.el7_0.1.x86_64.rpm
php-mbstring-5.4.16-23.el7_0.1.x86_64.rpm
php-mysqlnd-5.4.16-23.el7_0.1.x86_64.rpm
php-pspell-5.4.16-23.el7_0.1.x86_64.rpm
php-snmp-5.4.16-23.el7_0.1.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-2497.html
https://www.redhat.com/security/data/cve/CVE-2014-3478.html
https://www.redhat.com/security/data/cve/CVE-2014-3538.html
https://www.redhat.com/security/data/cve/CVE-2014-3587.html
https://www.redhat.com/security/data/cve/CVE-2014-3597.html
https://www.redhat.com/security/data/cve/CVE-2014-4670.html
https://www.redhat.com/security/data/cve/CVE-2014-4698.html
https://www.redhat.com/security/data/cve/CVE-2014-5120.html
https://access.redhat.com/security/updates/classification/#moderate

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

iD8DBQFUKpBKXlSAg2UNWIIRArFiAKCClLEm+8b7N1wTVoqNKAyS1Lde+wCgoHKl
LV6t8VbAtzTF83H0ON8jggk=
=W9Jz
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
Login or Register to add favorites

File Archive:

June 2021

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close