CVE-2007-3378
MEDIUM
6.8
CVSS 2.0
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.
Affected products and versions
- PHP — From 4.0.0 (including) to 4.4.7 (including)
- PHP — From 5.0.0 (including) to 5.2.3 (including)
References
- docs.info.apple.com http://docs.info.apple.com/article.html?artnum=307562 Third Party Advisory
- h20000.www2.hp.com http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01345501 Broken Link
- lists.apple.com http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html Mailing List, Third Party Advisory
- seclists.org http://seclists.org/fulldisclosure/2020/Sep/34
- secunia.com http://secunia.com/advisories/26642 Third Party Advisory
- secunia.com http://secunia.com/advisories/26822 Third Party Advisory
- secunia.com http://secunia.com/advisories/26838 Third Party Advisory
- secunia.com http://secunia.com/advisories/27102 Third Party Advisory
- secunia.com http://secunia.com/advisories/27377 Third Party Advisory
- secunia.com http://secunia.com/advisories/27648 Third Party Advisory
- secunia.com http://secunia.com/advisories/28318 Third Party Advisory
- secunia.com http://secunia.com/advisories/28750 Third Party Advisory
- secunia.com http://secunia.com/advisories/28936 Third Party Advisory
- secunia.com http://secunia.com/advisories/29420 Third Party Advisory
- secunia.com http://secunia.com/advisories/30040 Third Party Advisory
- securityreason.com http://securityreason.com/achievement_exploitalert/9 Third Party Advisory
- securityreason.com http://securityreason.com/achievement_securityalert/45 Exploit, Third Party Advisory
- securityreason.com http://securityreason.com/securityalert/2831 Exploit, Third Party Advisory
- securityreason.com http://securityreason.com/securityalert/3389 Exploit, Third Party Advisory
- slackware.com http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 Mailing List, Third Party Advisory
- www.gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
- www.openwall.com http://www.openwall.com/lists/oss-security/2020/09/17/3
- www.osvdb.org http://www.osvdb.org/38682 Broken Link
- www.php.net http://www.php.net/ChangeLog-4.php Patch, Vendor Advisory
- www.php.net http://www.php.net/ChangeLog-5.php#5.2.4 Patch, Vendor Advisory
- www.php.net http://www.php.net/ChangeLog-5.php#5.2.5 Patch, Vendor Advisory
- www.php.net http://www.php.net/releases/4_4_8.php Patch, Vendor Advisory
- www.php.net http://www.php.net/releases/5_2_4.php Patch, Vendor Advisory
- www.php.net http://www.php.net/releases/5_2_5.php Patch, Vendor Advisory
- www.securityfocus.com http://www.securityfocus.com/archive/1/472343/100/0/threaded Third Party Advisory, VDB Entry
- www.securityfocus.com http://www.securityfocus.com/archive/1/491693/100/0/threaded Third Party Advisory, VDB Entry
- www.securityfocus.com http://www.securityfocus.com/bid/24661 Patch, Third Party Advisory, VDB Entry
- www.securityfocus.com http://www.securityfocus.com/bid/25498 Patch, Third Party Advisory, VDB Entry
- www.trustix.org http://www.trustix.org/errata/2007/0026/ Broken Link
- www.vupen.com http://www.vupen.com/english/advisories/2007/3023 Permissions Required, Third Party Advisory
- www.vupen.com http://www.vupen.com/english/advisories/2008/0059 Permissions Required, Third Party Advisory
- www.vupen.com http://www.vupen.com/english/advisories/2008/0398 Permissions Required, Third Party Advisory
- www.vupen.com http://www.vupen.com/english/advisories/2008/0924/references Permissions Required, Third Party Advisory
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/35102 Third Party Advisory, VDB Entry
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/39403 Third Party Advisory, VDB Entry
- issues.rpath.com https://issues.rpath.com/browse/RPL-1693 Broken Link
- issues.rpath.com https://issues.rpath.com/browse/RPL-1702 Broken Link
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6056 Third Party Advisory
- nvd.nist.gov Official NVD record