PHP Multiple Image Processing Functions File Handling DoS

Medium Nessus Plugin ID 17687

Synopsis

The remote web server is prone to denial of service attacks.

Description

According to its banner, the version of PHP installed on the remote host is vulnerable to a denial of service attack due to its failure to properly validate file data in the routines 'php_handle_iff' and 'php_handle_jpeg', which are called by the PHP function 'getimagesize'. Using a specially crafted image file, an attacker can trigger an infinite loop when 'getimagesize' is called, perhaps even remotely in the cases where image uploads are allowed.

Solution

Upgrade to PHP 4.3.11 / 5.0.4 or later.

See Also

http://www.nessus.org/u?9ad00097

https://www.securityfocus.com/archive/1/394797

http://www.php.net/release_4_3_11.php

Plugin Details

Severity: Medium

ID: 17687

File Name: php_image_file_dos.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 2005/04/02

Updated: 2018/11/15

Dependencies: 48243

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5.4

Temporal Score: 4

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Exploit Available: false

Exploit Ease: No exploit is required

Vulnerability Publication Date: 2005/03/31

Reference Information

CVE: CVE-2005-0524, CVE-2005-0525

BID: 12962, 12963