Vulnerabilities · 2007 · Php
CVE-2007-3378
Php vulnerability
The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.php.net/ChangeLog-4.php · Patch
- www.php.net/ChangeLog-5.php#5.2.4 · Patch
- www.php.net/ChangeLog-5.php#5.2.5 · Patch
- www.php.net/releases/4_4_8.php · Patch
- www.php.net/releases/5_2_4.php · Patch
- www.php.net/releases/5_2_5.php · Patch
- www.securityfocus.com/bid/24661 · Patch
- www.securityfocus.com/bid/25498 · Patch
- nvd.nist.gov/vuln/detail/CVE-2007-3378
- cve.org/CVERecord?id=CVE-2007-3378
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.