Vulnerability in PHP
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.053, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- securityreason.com/securityalert/2831 (Exploit, Third Party Advisory, third-party-advisory)
- www.php.net/ChangeLog-5.php (Patch, Vendor Advisory)
- secunia.com/advisories/26822 (Third Party Advisory, third-party-advisory)
- secunia.com/advisories/28750 (Third Party Advisory, third-party-advisory)
- ADV-2008-0059 (Permissions Required, Third Party Advisory, vdb-entry)
- php-sessionsavepath-errorlog-security-bypass(39403) (Third Party Advisory, VDB Entry, vdb-entry)
- GLSA-200710-02 (vendor-advisory, Third Party Advisory)
- ADV-2008-0924 (Permissions Required, Third Party Advisory, vdb-entry)
- securityreason.com/achievement_exploitalert/9 (Third Party Advisory)
- www.php.net/releases/4_4_8.php (Patch, Vendor Advisory)