Advisory Published

USN-2984-1: PHP vulnerabilities

First published: Tue May 24 2016(Updated: )

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. This issue only affected Ubuntu 16.04 LTS. (CVE-2015-8865) Hans Jerry Illikainen discovered that the PHP Zip extension incorrectly handled certain malformed Zip archives. 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 affected Ubuntu 16.04 LTS. (CVE-2016-3078) It was discovered that PHP incorrectly handled invalid indexes in the SplDoublyLinkedList class. An attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-3132) 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. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4070) 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 affected Ubuntu 16.04 LTS. (CVE-2016-4071) 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. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4072) 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. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4073) It was discovered that the PHP phar extension incorrectly handled certain archive files. 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 affected Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and Ubuntu 15.10. (CVE-2016-4342, CVE-2016-4343) It was discovered that the PHP bcpowmod() function incorrectly handled memory. 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-4537, CVE-2016-4538) It was discovered that the PHP XML parser 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-4539) It was discovered that certain PHP grapheme functions incorrectly handled negative offsets. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2016-4540, CVE-2016-4541) It was discovered that PHP incorrectly handled certain malformed EXIF tags. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2016-4542, CVE-2016-4543, CVE-2016-4544)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/libapache2-mod-php7.0<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
=16.04
All of
ubuntu/php7.0-cgi<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
=16.04
All of
ubuntu/php7.0-cli<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
=16.04
All of
ubuntu/php7.0-fpm<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
=16.04
All of
ubuntu/libapache2-mod-php5<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
=15.10
All of
ubuntu/php5-cgi<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
=15.10
All of
ubuntu/php5-cli<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
=15.10
All of
ubuntu/php5-fpm<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
=15.10
All of
ubuntu/libapache2-mod-php5<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
=14.04
All of
ubuntu/php5-cgi<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
=14.04
All of
ubuntu/php5-cli<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
=14.04
All of
ubuntu/php5-fpm<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
=14.04
All of
ubuntu/libapache2-mod-php5<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
=12.04
All of
ubuntu/php5-cgi<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
=12.04
All of
ubuntu/php5-cli<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
=12.04
All of
ubuntu/php5-fpm<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
=12.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this advisory?

    USN-2984-1

  • What is the affected software?

    The affected software includes libapache2-mod-php7.0, php7.0-cgi, php7.0-cli, php7.0-fpm, libapache2-mod-php5, php5-cgi, php5-cli, php5-fpm.

  • What is the severity of the PHP vulnerabilities?

    The severity of the PHP vulnerabilities is not specified.

  • How do I fix the PHP vulnerabilities?

    To fix the PHP vulnerabilities, update to version 7.0.4-7ubuntu2.1 for the affected software packages.

  • Where can I find more information about the PHP vulnerabilities?

    More information about the PHP vulnerabilities can be found in the references provided: https://ubuntu.com/security/CVE-2015-8865, https://ubuntu.com/security/CVE-2016-3078, https://ubuntu.com/security/CVE-2016-3132

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203