Information disclosure in PHP - CVE-2014-2020
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to ext/gd/gd.c in PHP 5.5.x before 5.5.9 does not check data types. A remote attacker can use a (1) string or (2) array data type in place of a numeric data type, as demonstrated by an imagecrop function call with a string for the x dimension value and obtain sensitive information.
Affected software
Ubuntu
php5-gd (Ubuntu package)
php5-cgi (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5-cli (Ubuntu package)
How to mitigate CVE-2014-2020
php5-gd (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2
php5-cgi (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2
php5-cli (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2