OSVDB ID: 24487

Title: PHP copy() Function Safe Mode Bypass

Info

Disclosure

Apr 08, 2006

Discovery

Unknown

Dates

Exploit

Apr 08, 2006

Solution

Unknown

Description

PHP contains a flaw that may allow a local user to bypass security restrictions. The issue is due to the copy function in file.c not properly sanitizing user-supplied input. By supplying a crafted compress.zlib:// URI, an attacker can bypass safe mode restrictions and read arbitrary files.

Classification

Location: Local Access Required
Attack Type: Information Disclosure, Input Manipulation
Impact: Loss of Confidentiality
Exploit: Exploit Rumored
Disclosure: Vendor Verified

Solution

Upgrade to version 5.1.3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

The PHP Group

PHP

4.4.2
5.1.2

References

Credit

  • Maksymilian Arciemowicz - maxjestsuper.pl - securityreason.com


Direct URL: http://osvdb.org/24487