Ravens PHP Scripts

PHP Multiple Vulnerabilities
Date: Thursday, January 03, 2008 @ 21:17:05 CET
Topic: Security


SECUNIA ADVISORY ID: SA28318

VERIFY ADVISORY: http://secunia.com/advisories/28318/

CRITICAL: Moderately critical

IMPACT: Unknown, Security Bypass

SOFTWARE: PHP 4.4.x - http://secunia.com/product/5768/

DESCRIPTION: Some vulnerabilities have been reported in PHP, where some have unknown impact and others can be exploited by malicious users to bypass certain security restrictions. The vulnerabilities are reported in versions prior to 4.4.8.



1) An integer overflow error exists in the "chunk_split()" function. This may be related to vulnerability #1 in: SA25456

2) Integer overflow errors exists in the "strcspn()" and "strspn()" functions.

3) A regression error related to the "glob()" function exist, which can potentially be exploited to bypass the "open_basedir" directive.

4) An error exists within the handling of SQL queries containing "LOCAL INFILE" inside the MySQL extension. This can be exploited to bypass the "open_basedir" and "safe_mode" directives. This is related to vulnerability #5 in: SA26642

5) An error exists when processing "session_save_path" and "error_log" values, which can be exploited to bypass the "open_basedir" and "safe_mode" directives.

SOLUTION: Update to version 4.4.8. - http://www.php.net/downloads.php

PROVIDED AND/OR DISCOVERED BY: The vendor credits Gerhard Wagner.

ORIGINAL ADVISORY: http://www.php.net/releases/4_4_8.php

OTHER REFERENCES:
SA25456: http://secunia.com/advisories/25456/
SA26642: http://secunia.com/advisories/26642/






This article comes from Ravens PHP Scripts
http://www.ravenphpscripts.com

The URL for this story is:
http://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=3190