USN-2952-1: PHP vulnerabilities
21 April 2016
Several security issues were fixed in PHP.
Releases
Packages
- php5 - HTML-embedded scripting language interpreter
Details
It was discovered that the PHP Zip extension incorrectly handled
directories when processing certain zip files. A remote attacker could
possibly use this issue to create arbitrary directories. (CVE-2014-9767)
It was discovered that the PHP Soap client incorrectly validated data
types. A remote attacker could use this issue to cause PHP to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2015-8835, CVE-2016-3185)
It was discovered that the PHP MySQL native driver incorrectly handled TLS
connections to MySQL databases. A machine-in-the-middle attacker could possibly
use this issue to downgrade and snoop on TLS connections. This
vulnerability is known as BACKRONYM. (CVE-2015-8838)
It was discovered that PHP incorrectly handled the imagerotate function. A
remote attacker could use this issue to cause PHP to crash, resulting in a
denial of service, or possibly obtain sensitive information. This issue
only applied to Ubuntu 14.04 LTS and Ubuntu 15.10. (CVE-2016-1903)
Hans Jerry Illikainen discovered that the PHP phar extension incorrectly
handled certain tar archives. A remote attacker could use this issue to
cause PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-2554)
It was discovered that the PHP WDDX extension incorrectly handled certain
malformed XML data. A remote attacker could possibly use this issue to
cause PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-3141)
It was discovered that the PHP phar extension incorrectly handled certain
zip files. A remote attacker could use this issue to cause PHP to crash,
resulting in a denial of service, or possibly obtain sensitive information.
(CVE-2016-3142)
It was discovered that the PHP libxml_disable_entity_loader() setting was
shared between threads. When running under PHP-FPM, this could result in
XML external entity injection and entity expansion issues. This issue only
applied to Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (No CVE number)
It was discovered that the PHP openssl_random_pseudo_bytes() function did
not return cryptographically strong pseudo-random bytes. (No CVE number)
It was discovered that the PHP Fileinfo component incorrectly handled
certain magic files. An attacker could use this issue to cause PHP to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE number pending)
It was discovered that the PHP php_snmp_error() function incorrectly
handled string formatting. A remote attacker could use this issue to cause
PHP to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only applied to Ubuntu 14.04 LTS and Ubuntu
15.10. (CVE number pending)
It was discovered that the PHP rawurlencode() function incorrectly handled
large strings. A remote attacker could use this issue to cause PHP to
crash, resulting in a denial of service. (CVE number pending)
It was discovered that the PHP phar extension incorrectly handled certain
filenames in archives. A remote attacker could use this issue to cause PHP
to crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE number pending)
It was discovered that the PHP mb_strcut() function incorrectly handled
string formatting. A remote attacker could use this issue to cause PHP to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE number pending)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 15.10
-
libapache2-mod-php5
-
5.6.11+dfsg-1ubuntu3.2
-
php5-cgi
-
5.6.11+dfsg-1ubuntu3.2
-
php5-cli
-
5.6.11+dfsg-1ubuntu3.2
-
php5-fpm
-
5.6.11+dfsg-1ubuntu3.2
-
php5-gd
-
5.6.11+dfsg-1ubuntu3.2
-
php5-mysqlnd
-
5.6.11+dfsg-1ubuntu3.2
-
php5-snmp
-
5.6.11+dfsg-1ubuntu3.2
Ubuntu 14.04
-
libapache2-mod-php5
-
5.5.9+dfsg-1ubuntu4.16
-
php5-cgi
-
5.5.9+dfsg-1ubuntu4.16
-
php5-cli
-
5.5.9+dfsg-1ubuntu4.16
-
php5-fpm
-
5.5.9+dfsg-1ubuntu4.16
-
php5-gd
-
5.5.9+dfsg-1ubuntu4.16
-
php5-mysqlnd
-
5.5.9+dfsg-1ubuntu4.16
-
php5-snmp
-
5.5.9+dfsg-1ubuntu4.16
Ubuntu 12.04
-
libapache2-mod-php5
-
5.3.10-1ubuntu3.22
-
php5-cgi
-
5.3.10-1ubuntu3.22
-
php5-cli
-
5.3.10-1ubuntu3.22
-
php5-fpm
-
5.3.10-1ubuntu3.22
-
php5-gd
-
5.3.10-1ubuntu3.22
-
php5-mysqlnd
-
5.3.10-1ubuntu3.22
-
php5-snmp
-
5.3.10-1ubuntu3.22
In general, a standard system update will make all the necessary changes.