Check Point Advisories

PHP Multiple Function Stack Buffer Overflow (CVE-2015-3329; CVE-2016-10159)

Check Point Reference: CPAI-2015-0877
Date Published: 23 Jul 2015
Severity: High
Last Updated: 29 Mar 2017
Source: PHP
Industry Reference:CVE-2015-3329
CVE-2016-10159
Protection Provided by:

Security Gateway
R80, R77, R76, R75

Who is Vulnerable? PHP Group PHP 5.4.x prior to 5.4.40
PHP Group PHP 5.5.x prior to 5.5.24
PHP Group PHP 5.6.x prior to 5.6.8
PHP Group PHP prior to 7.0.15
Vulnerability Description A buffer overflow vulnerability exists in PHP. The vulnerability is due to improper bounds checking when handling .tar, .phar or .zip archives in the phar_set_inode() function or phar_parse_pharfile() function. A remote attacker can exploit this vulnerability by providing a crafted .tar or .phar file to a vulnerable application. Successful exploitation could lead to execution of arbitrary code under the security context of the process.

Protection Overview

This protection will detect and block attempts to exploit this vulnerability.

In order for the protection to be activated, update your Security Gateway product to the latest IPS update.For information on how to update IPS, go to SBP-2006-05, click on Protection tab and select the version of your choice.

Security Gateway R80 / R77 / R76 / R75

  1. In the IPS tab, click Protections and find the PHP Multiple Function Stack Buffer Overflow protection using the Search tool and Edit the protection's settings.
  2. Install policy on all modules.

This protection's log will contain the following information:

Attack Name:  Web Server Enforcement Violation.
Attack Information:  PHP Multiple Function Stack Buffer Overflow

This website uses cookies to ensure you get the best experience. Got it, Thanks! MORE INFO