Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 464
Alerts This Week
Warning Icon 1 464

Red Hat Enterprise Linux 7: RHSA-2014:1013-01 Moderate PHP Update DoS

red hat
Calendar Grey August 6, 2014
Scroller Redhat
The recent security notice from Red Hat discusses a significant PHP upgrade that tackles several vulnerabilities and potential risks.
Updated php packages that fix multiple security issues are now available for Red Hat Enterprise Linux 7

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

Summary

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 denial of service flaw was found in the File Information (fileinfo) extension rules for detecting AWK files. A remote attacker could use this flaw to cause a PHP application using fileinfo to consume an excessive amount of CPU. (CVE-2013-7345)
Multiple denial of service flaws were found in the way the File Information (fileinfo) extension parsed certain Composite Document Format (CDF) files. A remote attacker could use either of these flaws to crash a PHP application using fileinfo via a specially crafted CDF file. (CVE-2014-0207, CVE-2014-0237, CVE-2014-0238, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487)
A heap-based buffer overflow flaw was found in the way PHP parsed DNS TXT records. 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-4049)
A type confusion issue was found in PHP's phpinfo() function. A malicious script author could possibly use this flaw to disclose certain portions of server memory. (CVE-2014-4721)
A type confusion issue was found in the SPL ArrayObject and SPLObjectStorage classes' unserialize() method. A remote attacker able to submit specially crafted input to a PHP application, which would then unserialize this input using one of the aforementioned methods, could use this flaw to execute arbitrary code with the privileges of the user running that PHP application. (CVE-2014-3515)
The CVE-2014-0207, CVE-2014-0237, CVE-2014-0238, CVE-2014-3479, CVE-2014-3480, and CVE-2014-3487 issues were discovered by Francisco Alonso of Red Hat Product Security.
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.

References

https://access.redhat.com/security/cve/CVE-2013-7345 https://access.redhat.com/security/cve/CVE-2014-0207 https://access.redhat.com/security/cve/CVE-2014-0237 https://access.redhat.com/security/cve/CVE-2014-0238 https://access.redhat.com/security/cve/CVE-2014-3479 https://access.redhat.com/security/cve/CVE-2014-3480 https://access.redhat.com/security/cve/CVE-2014-3487 https://access.redhat.com/security/cve/CVE-2014-3515 https://access.redhat.com/security/cve/CVE-2014-4049 https://access.redhat.com/security/cve/CVE-2014-4721 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Client Optional (v. 7):
Source: php-5.4.16-23.el7_0.src.rpm
x86_64: php-5.4.16-23.el7_0.x86_64.rpm php-bcmath-5.4.16-23.el7_0.x86_64.rpm php-cli-5.4.16-23.el7_0.x86_64.rpm php-common-5.4.16-23.el7_0.x86_64.rpm php-dba-5.4.16-23.el7_0.x86_64.rpm php-debuginfo-5.4.16-23.el7_0.x86_64.rpm php-devel-5.4.16-23.el7_0.x86_64.rpm php-embedded-5.4.16-23.el7_0.x86_64.rpm php-enchant-5.4.16-23.el7_0.x86_64.rpm php-fpm-5.4.16-23.el7_0.x86_64.rpm php-gd-5.4.16-23.el7_0.x86_64.rpm php-intl-5.4.16-23.el7_0.x86_64.rpm php-ldap-5.4.16-23.el7_0.x86_64.rpm php-mbstring-5.4.16-23.el7_0.x86_64.rpm php-mysql-5.4.16-23.el7_0.x86_64.rpm php-mysqlnd-5.4.16-23.el7_0.x86_64.rpm php-odbc-5.4.16-23.el7_0.x86_64.rpm php-pdo-5.4.16-23.el7_0.x86_64.rpm php-pgsql-5.4.16-23.el7_0.x86_64.rpm php-process-5.4.16-23.el7_0.x86_64.rpm php-pspell-5.4.16-23.el7_0.x86_64.rpm php-recode-5.4.16-23.el7_0.x86_64.rpm php-snmp-5.4.16-23.el7_0.x86_64.rpm php-soap-5.4.16-23.el7_0.x86_64.rpm php-xml-5.4.16-23.el7_0.x86_64.rpm php-xmlrpc-5.4.16-23.el7_0.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
Source: php-5.4.16-23.el7_0.src.rpm
x86_64: php-5.4.16-23.el7_0.x86_64.rpm php-bcmath-5.4.16-23.el7_0.x86_64.rpm php-cli-5.4.16-23.el7_0.x86_64.rpm php-common-5.4.16-23.el7_0.x86_64.rpm

Read the Full Advisory


Advisory ID: RHSA-2014:1013-01
Product: Red Hat Enterprise Linux
Issue date: 2014-08-06

Topic

Updated php packages that fix multiple security issues are now availablefor Red Hat Enterprise Linux 7.The Red Hat Security Response Team has rated this update as having Moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.

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

Bugs Fixed

1079846 - CVE-2013-7345 file: extensive backtracking in awk rule regular expression

1091842 - CVE-2014-0207 file: cdf_read_short_sector insufficient boundary check

1098155 - CVE-2014-0238 file: CDF property info parsing nelements infinite loop

1098193 - CVE-2014-0237 file: cdf_unpack_summary_info() excessive looping DoS

1104858 - CVE-2014-3480 file: cdf_count_chain insufficient boundary check

1104869 - CVE-2014-3479 file: cdf_check_stream_offset insufficient boundary check

1107544 - CVE-2014-3487 file: cdf_read_property_info insufficient boundary check

1108447 - CVE-2014-4049 php: heap-based buffer overflow in DNS TXT record parsing

1112154 - CVE-2014-3515 php: unserialize() SPL ArrayObject / SPLObjectStorage type confusion flaw

1116662 - CVE-2014-4721 php: type confusion issue in phpinfo() leading to information leak

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.