CVE-2007-3378: PHP

Medium severity, CVSS 6.8. EPSS: 5.3% chance of exploitation in the next 30 days.

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 PHP: from 4.0.0, up to and including 4.4.7; from 5.0.0, up to and including 5.2.3

Published 2007-06-29. Last modified 2026-06-16.