PHP Multiple Image Processing Functions File Handling DoS

medium Nessus Plugin ID 17687
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


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.


Upgrade to PHP 4.3.11 / 5.0.4 or later.

See Also

Plugin Details

Severity: Medium

ID: 17687

File Name: php_image_file_dos.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 4/2/2005

Updated: 1/19/2021

Dependencies: php_version.nasl

Risk Information


Risk Factor: Low

Score: 3.6


Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

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

Temporal Vector: E:U/RL:OF/RC: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