Vulnerability Assessment & Network Security Forums

If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.

Home >> Browse Vulnerability Assessment Database >> Mandrake Local Security Checks >> MDKSA-2005:072: php

Vulnerability Assessment Details

MDKSA-2005:072: php

Vulnerability Assessment Summary
Check for the version of the php package

Detailed Explanation for this Vulnerability Assessment

The remote host is missing the patch for the advisory MDKSA-2005:072 (php).

A number of vulnerabilities are addressed in this PHP update:

Stefano Di Paolo discovered integer overflows in PHP's pack(), unpack(), and
shmop_write() functions which could permit a malicious script to break out of
safe mode and execute arbitray code with rights of the PHP interpreter
this was previously fixed in Mandrakelinux >= 10.0 in

Stefan Esser discovered two safe mode bypasses which would permit malicious
scripts to circumvent path restrictions by using virtual_popen() with a current
directory containing shell meta- characters (CVE-2004-1063) or by creating a
specially crafted directory whose length exceeded the capacity of realpath()
both of these were previously fixed in Mandrakelinux >= 10.0 in

Two Denial of Service vulnerabilities were found in the getimagesize() function
which uses the format-specific internal functions php_handle_iff() and
php_handle_jpeg() which would get stuck in infinite loops when certain
(invalid) size parameters are read from the image (CVE-2005-0524 and

An integer overflow was discovered in the exif_process_IFD_TAG() function in
PHP's EXIF module. EXIF tags with a specially crafted 'Image File Directory'
(IFD) tag would cause a buffer overflow which could be exploited to execute
arbitrary code with the rights of the PHP server (CVE-2005-1042).

Another vulnerability in the EXIF module was also discovered where headers with
a large IFD nesting level would cause an unbound recursion which would
eventually overflow the stack and cause the executed program to crash

All of these issues are addressed in the Corporate Server 2.1 packages and the
last three issues for all other platforms, which had previously included the
first two issues but had not been mentioned in MDKSA-2004:151.

Solution :
Network Security Threat Level: High

Networks Security ID:

Vulnerability Assessment Copyright: This script is Copyright (C) 2005 Tenable Network Security

Cables, Connectors

Knoppix Linux Live USB 32 64 bit Debian GNU Apache MySQL | Tech | Bootable | OS
Knoppix Linux Live USB 32 64 bit Debian GNU Apache MySQL | Tech | Bootable | OS pictureKnoppix 7 Linux DVD 32-bit Full Installation Includes Complimentary UNIX Academy
Knoppix 7 Linux DVD 32-bit Full Installation Includes Complimentary UNIX Academy pictureKNOPPIX 8.1 LINUX LIVE DVD - 2018
KNOPPIX 8.1 LINUX LIVE DVD - 2018 pictureKnoppix Linux , 32 Bit
Knoppix Linux , 32 Bit picture


No Discussions have been posted on this vulnerability.