First published: Wed Dec 17 2008(Updated: )
PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-dependent attackers to bypass safe_mode restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | =5.1.5 | |
PHP PHP | =5.1.2 | |
PHP PHP | =5.1.1 | |
PHP PHP | =5.0.0-beta1 | |
PHP PHP | =5.1.6 | |
PHP PHP | =5.2.7 | |
PHP PHP | =5.2.2 | |
PHP PHP | =5.0.5 | |
PHP PHP | =5.0.1 | |
PHP PHP | =5.1.4 | |
PHP PHP | =5.2.5 | |
PHP PHP | =5.0.4 | |
PHP PHP | =5.2.6 | |
PHP PHP | =5.0.0-rc2 | |
PHP PHP | =5.2.3 | |
PHP PHP | =5.0.3 | |
PHP PHP | =5.1.0 | |
PHP PHP | =5.0.0-rc3 | |
PHP PHP | =5.2.0 | |
PHP PHP | =5.2.4 | |
PHP PHP | =5.0.0-beta3 | |
PHP PHP | =5.1.3 | |
PHP PHP | =5.0.0-rc1 | |
PHP PHP | =5.0.2 | |
PHP PHP | =5.2.1 | |
PHP PHP | =5.0.0-beta4 | |
PHP PHP | =5.0.0 | |
PHP PHP | =5.0.0-beta2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.