PT-2006-2606 · Php · Php
Cxib8O3
+1
·
Published
2006-04-10
·
Updated
2018-10-30
·
CVE-2006-1608
CVSS v2.0
2.1
Low
| Vector | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions:
PHP versions 4.4.2 through 5.1.2
Description:
The issue allows local users to bypass safe mode and read arbitrary files. This is due to the copy function in file.c not properly sanitizing user-supplied input, specifically when a source argument contains a compress.zlib:// URI. By supplying a crafted compress.zlib:// URI, an attacker can bypass safe mode restrictions.
Recommendations:
For PHP versions 4.4.2 through 5.1.2, consider restricting access to the copy function in file.c to minimize the risk of exploitation until a patch is available. As a temporary workaround, avoid using the compress.zlib:// URI scheme in the copy function to prevent bypassing safe mode restrictions.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Php