RULE(RULE ID:320449)

Rule General Information
Release Date: 2017-10-12
Rule Name: PHP gdImageCreateFromGifCtx Out of Bounds Read Vulnerability -1 (CVE-2017-7890)
Severity:
CVE ID:
Rule Protection Details
Description: An out of bounds read vulnerability has been reported in PHP. The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.
Impact: An attacker can abtain sensitive information of the target victim, and do malicious actions to gain profits using the information.
Affected OS: Windows, Other Unix, FreeBSD, Linux
Reference: CVE-2017-7890
Solutions
Update vendor's patch.