Alerts This Week
Warning Icon 1 1,153
Alerts This Week
Warning Icon 1 1,153

Red Hat Software Collections: RHSA-2015:1187-01 Critical PHP Security Flaw

red hat
Calendar Grey June 25, 2015
Dist Redhat Esm H88
Crucial notification regarding rh-php56-php targets several vulnerabilities. Update immediately for improved safety and reliability.
Updated rh-php56-php packages that fix multiple security issues are now available for Red Hat Software Collections 2

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
A flaw was found in the way the PHP module for the Apache httpd web server handled pipelined requests. A remote attacker could use this flaw to trigger the execution of a PHP script in a deinitialized interpreter, causing it to crash or, possibly, execute arbitrary code. (CVE-2015-3330)
A flaw was found in the way PHP parsed multipart HTTP POST requests. A specially crafted request could cause PHP to use an excessive amount of CPU time. (CVE-2015-4024)
An integer overflow flaw leading to a heap-based buffer overflow was found in the way PHP's FTP extension parsed file listing FTP server responses. A malicious FTP server could use this flaw to cause a PHP application to crash or, possibly, execute arbitrary code. (CVE-2015-4022)
Multiple flaws were discovered in the way PHP performed object unserialization. Specially crafted input processed by the unserialize() function could cause a PHP application to crash or, possibly, execute arbitrary code. (CVE-2015-4602, CVE-2015-4603)
It was found that certain PHP functions did not properly handle file names containing a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions. (CVE-2015-4025, CVE-2015-4026, CVE-2015-3411, CVE-2015-3412, CVE-2015-4598)
Multiple flaws were found in the way the way PHP's Phar extension parsed Phar archives. A specially crafted archive could cause PHP to crash or, possibly, execute arbitrary code when opened. (CVE-2015-2783, CVE-2015-3307, CVE-2015-3329, CVE-2015-4021)
Multiple flaws were found in PHP's File Information (fileinfo) extension. A remote attacker could cause a PHP application to crash if it used fileinfo to identify type of attacker supplied files. (CVE-2015-4604, CVE-2015-4605)
All rh-php56-php users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing the updated packages, the httpd24-httpd service must be restarted for the update to take effect.

References

https://access.redhat.com/security/cve/CVE-2015-2783 https://access.redhat.com/security/cve/CVE-2015-3307 https://access.redhat.com/security/cve/CVE-2015-3329 https://access.redhat.com/security/cve/CVE-2015-3330 https://access.redhat.com/security/cve/CVE-2015-3411 https://access.redhat.com/security/cve/CVE-2015-3412 https://access.redhat.com/security/cve/CVE-2015-4021 https://access.redhat.com/security/cve/CVE-2015-4022 https://access.redhat.com/security/cve/CVE-2015-4024 https://access.redhat.com/security/cve/CVE-2015-4025 https://access.redhat.com/security/cve/CVE-2015-4026 https://access.redhat.com/security/cve/CVE-2015-4598 https://access.redhat.com/security/cve/CVE-2015-4602 https://access.redhat.com/security/cve/CVE-2015-4603 https://access.redhat.com/security/cve/CVE-2015-4604 https://access.redhat.com/security/cve/CVE-2015-4605 https://access.redhat.com/security/updates/classification/#important

Package List

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):
Source: rh-php56-php-5.6.5-7.el6.src.rpm
x86_64: rh-php56-php-5.6.5-7.el6.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm rh-php56-php-common-5.6.5-7.el6.x86_64.rpm rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm rh-php56-php-process-5.6.5-7.el6.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2015:1187-01
Product: Red Hat Software Collections
Issue date: 2015-06-25

Topic

Updated rh-php56-php packages that fix multiple security issues are nowavailable for Red Hat Software Collections 2.Red Hat Product Security has rated this update as having Important securityimpact. Common Vulnerability Scoring System (CVSS) base scores, which givedetailed severity ratings, are available for each vulnerability from theCVE links in the References section.

Relevant Releases Architectures

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Bugs Fixed

1213394 - CVE-2015-3330 php: pipelined request executed in deinitialized interpreter under httpd 2.4

1213407 - CVE-2015-3411 php: missing null byte checks for paths in various PHP extensions

1213442 - CVE-2015-4604 CVE-2015-4605 php: denial of service when processing a crafted file with Fileinfo

1213446 - CVE-2015-2783 php: buffer over-read in Phar metadata parsing

1213449 - CVE-2015-3329 php: buffer overflow in phar_set_inode()

1222485 - CVE-2015-4024 php: multipart/form-data request paring CPU usage DoS

1223408 - CVE-2015-4025 php: CVE-2006-7243 regressions in 5.4+

1223412 - CVE-2015-4022 php: integer overflow leading to heap overflow when reading FTP file listing

1223422 - CVE-2015-4026 php: pcntl_exec() accepts paths with NUL character

1223425 - CVE-2015-4021 php: memory corruption in phar_parse_tarfile caused by empty entry file name

1223441 - CVE-2015-3307 php: invalid pointer free() in phar_tar_process_metadata()

1232823 - CVE-2015-3412 php: missing null byte checks for paths in various PHP extensions

1232897 - CVE-2015-4598 php: missing null byte checks for paths in DOM and GD extensions

1232918 - CVE-2015-4603 php: exception::getTraceAsString type confusion issue after unserialize

1232923 - CVE-2015-4602 php: Incomplete Class unserialization type confusion

Get the latest News and Insights

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

Your message here