Check Point Advisories

PHP gdImageCreateFromGifCtx Out of Bounds Read (CVE-2017-7890)

Check Point Reference: CPAI-2017-0680
Date Published: 10 Aug 2017
Severity: Medium
Last Updated: Thursday 28 September, 2017
Source: PHP 74435
Industry Reference:CVE-2017-7890
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable? PHP Group PHP prior to 5.6.31
PHP Group PHP prior to 7.0.21
PHP Group PHP prior to 7.1.7
Vulnerability Description An out of bounds read vulnerability exists in PHP. The vulnerability is due to improper handling of objects in memory within the gdImageCreateFromGifCtx() function of gd_gif_in.c. A remote attacker could exploit this vulnerability by supplying a crafted image file to an application using the affected function.

Protection Overview

This protection detects 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 / R75

  1. In the IPS tab, click Protections and find the PHP gdImageCreateFromGifCtx Out of Bounds Read protection using the Search tool and Edit the protection's settings.
  2. Install policy on all Security Gateways.

This protection's log will contain the following information:

Attack Name:  Web Server Enforcement Violation.
Attack Information:  PHP gdImageCreateFromGifCtx Out of Bounds Read

×
  Feedback
This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.
OK