Family: Mandrake Local Security Checks --> Category: infos
MDKSA-2005:072: php Vulnerability Scan
Vulnerability Scan Summary
Check for the version of the php package
Detailed Explanation for this Vulnerability Test
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 allow 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 allow 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 : http://wwwnew.mandriva.com/security/advisories?name=MDKSA-2005:072
Threat Level: High
Click HERE for more information and discussions on this network vulnerability scan.