{"id":"CVE-2007-3378","aliases":["EUVD-2007-3368","GHSA-jjgw-mx44-pv3c"],"status":"published","title":"The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and...","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":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.05331,"percentile":0.92664,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-264"],"published":"2007-06-29T18:00:00Z","modified":"2026-06-16T22:41:52Z","products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://securityreason.com/securityalert/2831","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","Exploit","Third Party Advisory"]},{"url":"http://www.php.net/ChangeLog-5.php#5.2.5","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/26822","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/28750","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0059","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39403","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","Third Party Advisory"]},{"url":"http://securityreason.com/achievement_exploitalert/9","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"http://www.php.net/releases/4_4_8.php","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2008\u0026m=slackware-security.335136","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://secunia.com/advisories/30040","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0398","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","Third Party Advisory"]},{"url":"http://www.php.net/releases/5_2_5.php","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/28936","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.trustix.org/errata/2007/0026/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/29420","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1693","tags":["x_refsource_CONFIRM","x_transferred","Broken Link"]},{"url":"http://www.securityfocus.com/archive/1/491693/100/0/threaded","tags":["vendor-advisory","x_refsource_HP","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://securityreason.com/securityalert/3389","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","Exploit","Third Party Advisory"]},{"url":"http://secunia.com/advisories/27648","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://securityreason.com/achievement_securityalert/45","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1702","tags":["x_refsource_CONFIRM","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/26838","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/27377","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/472343/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35102","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"http://www.php.net/ChangeLog-4.php","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27102","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/3023","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","Third Party Advisory"]},{"url":"http://www.php.net/releases/5_2_4.php","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501","tags":["vendor-advisory","x_refsource_HP","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/28318","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/25498","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Third Party Advisory","VDB Entry"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/26642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/24661","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Third Party Advisory","VDB Entry"]},{"url":"http://www.osvdb.org/38682","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"http://www.openwall.com/lists/oss-security/2020/09/17/3","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2020/Sep/34","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3378"},{"url":"http://www.trustix.org/errata/2007/0026"},{"url":"https://github.com/advisories/GHSA-jjgw-mx44-pv3c"}],"sources":{"cve":[{"id":"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.","status":"published","published":"2007-06-29T18:00:00Z","modified":"2024-08-07T14:14:12.954Z","updated_at":"2026-11-02T13:32:45.563938Z"}],"euvd":[{"id":"EUVD-2007-3368","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.","status":"published","published":"2007-06-29T18:00:00Z","modified":"2024-08-07T14:14:12Z","updated_at":"2026-11-03T01:38:16.457766Z"}],"ghsa":[{"id":"GHSA-jjgw-mx44-pv3c","title":"The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and...","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.","status":"published","published":"2022-05-01T18:13:13Z","modified":"2025-04-09T03:44:27Z","updated_at":"2026-11-02T15:00:54.343663Z"}],"nvd":[{"id":"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.","status":"published","published":"2007-06-29T18:30:00Z","modified":"2026-06-16T22:41:52.39Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:01:17.002124Z"}]}}
