PT-2008-6677 · Php+1 · Php+1
Published
2008-12-17
·
Updated
2018-10-11
·
CVE-2008-5624
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
PHP versions prior to 5.2.7
Description
The issue allows context-dependent attackers to bypass safe mode restrictions. This is due to the improper initialization of the
page uid and page gid global variables for use by the SAPI php getuid function. Attackers can exploit this by setting variables intended to be restricted to root, such as setting /etc for the error log variable.Recommendations
For PHP versions prior to 5.2.7, update to version 5.2.7 or later to resolve the issue.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hp-Ux
Php