CVE-2007-3378

Description

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
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.331%
chance of exploitation in the next 30 days
higher than 92.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2007-06-29Published by the CNA18:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpfrom 4.0.0 through 4.4.7no fix listedfrom 5.0.0 through 5.2.3no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

43 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources