PHP 5.5.x < 5.5.9 GD Extension Multiple Vulnerabilities

high Nessus Network Monitor Plugin ID 8125

Synopsis

The remote web server uses a version of PHP that is affected by multiple vulnerabilities.

Description

Versions of PHP 5.5.x prior to 5.5.9 are exposed to the following issues related to the GD extension :

- A heap-based buffer overflow error exists related to the functions 'gdImageCrop' and 'imagecrop' that could allow denial of service attacks and possibly arbitrary code execution. (CVE-2013-7226)

- An error exists in the function 'gdImageCrop' related to return value checking that could lead to use of NULL pointers and denial of service attacks. (CVE-2013-7327)

- Multiple integer signedness errors exist in the function 'gdImageCrop' that could allow denial of service attacks and information disclosure. (CVE-2013-7328)

- A data type checking error exists that could allow information disclosure. (CVE-2014-2020)


Solution

Apply the vendor patch or upgrade to PHP version 5.5.9 or later.

See Also

https://bugs.php.net/bug.php?id=66356

https://bugs.php.net/bug.php?id=66815

https://hackerone.com/reports/1356

http://www.php.net/ChangeLog-5.php#5.5.9

Plugin Details

Severity: High

ID: 8125

Family: Web Servers

Published: 2/14/2014

Updated: 3/6/2019

Nessus ID: 72511

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Patch Publication Date: 2/12/2014

Vulnerability Publication Date: 2/12/2014

Reference Information

CVE: CVE-2013-7226, CVE-2013-7327, CVE-2013-7328, CVE-2014-2020

BID: 65533, 65656, 65668, 65676