CVE-2008-5625 Security feature bypass in n/a
Attackers can bypass safe_mode restrictions to write arbitrary files via .htaccess when safe_mode is enabled via httpd.conf.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2008-5625?
CVE-2008-5625 is a high-severity vulnerability in Php Php, published on 17 Dec 2008. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is enabled through a php_admin_flag setting in httpd.conf, which allows context-dependent attackers to write to arbitrary files by placing a "php_value error_log" entry in a .htaccess file.
Weakness: CWE-264
Which versions are affected by CVE-2008-5625?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2008-5625?
No fix has been published for CVE-2008-5625 yet. Limit exposure of the affected software until one is available.
Is CVE-2008-5625 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-5625 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-x9qw-wpgc-3724.