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.23

Type: remote

Family: CGI abuses

Published: 4/2/2005

Updated: 11/22/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

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

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Exploit Ease: No exploit is required

Vulnerability Publication Date: 3/31/2005

Reference Information

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

BID: 12962, 12963