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.