All vulnerabilities

Servers and applications

CVE-2007-3378

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.

Severity
Medium 6.8
Published
29 Jun 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
5.3% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 4.0.0 up to 4.4.7
  • From 5.0.0 up to 5.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-3378
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-3378