Korean
<< Back
VID 22683
Severity 40
Port 80, ...
Protocol TCP
Class CGI
Detailed Description According to its banner, the version of PHP 5.4.x, 5.5.x, 5.6.x installed on the remote host is a version prior to 5.4.37, 5.5.21, 5.6.5. The PHP versions are affected by multiple vulnerabilities :

- An out-of-bounds read flaw in file 'cgi_main.c' exists when nmap is used to process an invalid file that begins with a hash character (#) but lacks a newline character.

A remote attacker, using a specially crafted PHP file, can exploit this vulnerability to disclose memory contents, cause a denial of service, or possibly execute code. (CVE-2014-9427)

- An out-of-bounds read issue exists in the GetCode_() function in 'gd_gif_in.c'. This allows a remote attacker to disclose memory contents. (CVE-2014-9709)

- A use-after-free memory error exists in the process_nested_data() function in 'var_unserializer.re' due to improper handling of duplicate numerical keys within the serialized properties of an object. A remote attacker, using a crafted unserialize method call, can exploit this vulnerability to execute arbitrary code. (CVE-2015-0231)

- A flaw exists in the exif_process_unicode() function in 'exif.c' that allows freeing an uninitialized pointer. A remote attacker, using specially crafted EXIF data in a
JPEG image, can exploit this to cause a denial of service or to execute arbitrary code. (CVE-2015-0232)

* Note: This check solely relied on the version number of the remote PHP to assess this vulnerability, so this might be a false positive.

* References:
http://php.net/ChangeLog-5.php#5.4.37
http://php.net/ChangeLog-5.php#5.5.21
http://php.net/ChangeLog-5.php#5.6.5

* Platforms Affected:
PHP Prior to 5.4.37, 5.5.21, 5.6.5
Any operating system Any version
Recommendation Upgrade to the latest version of PHP (5.4.37, 5.5.21, 5.6.5 or later), available from the PHP web site at http://www.php.net/downloads.php
Related URL CVE-2014-9427,CVE-2014-9709,CVE-2015-0231,CVE-2015-0232 (CVE)
Related URL 71833,72539,72541,73306 (SecurityFocus)
Related URL (ISS)