>> PHP Multiple Function Security Bypass and Cross Site Scripting Vulnerabilities
Title : PHP Multiple Function Security Bypass and Cross Site Scripting Vulnerabilities VUPEN ID : VUPEN/ADV-2006-1290 CVE ID : CVE-2006-0996 - CVE-2006-1494 - CVE-2006-1549 - CVE-2006-1608
Rated as : Moderate Risk
Remotely Exploitable : Yes Locally Exploitable : Yes Release Date : 2006-04-10
Technical Description
Multiple vulnerabilities have been identified in PHP, which could be exploited by attackers to bypass security restrictions, execute arbitrary scripting code, or cause a denial of service.
The first issue is due to an input validation error in the "phpinfo()" function that does not properly validate an overly long array, which could be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser in the security context of an affected Web site.
The second flaw is due to an input validation error when processing a specially crafted argument passed to the "tempnam()" function, which could be exploited by attackers to bypass "open_basedir" restrictions and create temporary files in an arbitrary directory.
The third vulnerability is due to an input validation error when processing specially crafted arguments passed to the "copy()" function, which could be exploited by attackers to bypass "open_basedir" and "safe_mode" restrictions, and gain unauthorized access to arbitrary files via the "compress.zlib://" file wrapper.
The fourth issue is due to an infinite loop when processing a self-referencing function, which could be exploited by malicious users to crash a vulnerable application via a specially crafted PHP script.