#VU11789 Information disclosure


Published: 2018-04-09 | Updated: 2018-04-12

Vulnerability identifier: #VU11789

Vulnerability risk: Low

CVSSv3.1:

CVE-ID: CVE-2017-7890

CWE-ID: CWE-200

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote attacker to obtain potentially sensitive information.

The weakness exists in the GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c due to it does not zero colorMap arrays before use. A remote attacker can trick the victim into opening a specially crafted GIF image that could use the uninitialized tables to read ~700 bytes from the top of the stack and gain access to potentially sensitive information.

Mitigation
Update to versions 5.6.31 or 7.1.7.

Vulnerable software versions

PHP: 5.6.0 - 5.6.30, 7.1.0 - 7.1.6


CPE

External links
http://php.net/ChangeLog-5.php


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability