CVE-2007-3378
Last modified
CVE-2007-3378 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 5.33% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 4.0.0, <= 4.4.7 |
| Php | Php | >= 5.0.0, <= 5.2.3 |
References
- http://docs.info.apple.com/article.html?artnum=307562Third Party Advisory
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.htmlMailing List, Third Party Advisory
- http://secunia.com/advisories/26642Third Party Advisory
- http://secunia.com/advisories/26822Third Party Advisory
- http://secunia.com/advisories/26838Third Party Advisory
- http://secunia.com/advisories/27102Third Party Advisory
- http://secunia.com/advisories/27377Third Party Advisory
- http://secunia.com/advisories/27648Third Party Advisory
- http://secunia.com/advisories/28318Third Party Advisory
- http://secunia.com/advisories/28750Third Party Advisory
- http://secunia.com/advisories/28936Third Party Advisory
- http://secunia.com/advisories/29420Third Party Advisory
- http://secunia.com/advisories/30040Third Party Advisory
- http://securityreason.com/achievement_exploitalert/9Third Party Advisory
- http://securityreason.com/achievement_securityalert/45Exploit, Third Party Advisory
- http://securityreason.com/securityalert/2831Exploit, Third Party Advisory
- http://securityreason.com/securityalert/3389Exploit, Third Party Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136Mailing List, Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.osvdb.org/38682Broken Link
- http://www.php.net/ChangeLog-4.phpPatch, Vendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4Patch, Vendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.5Patch, Vendor Advisory
- http://www.php.net/releases/4_4_8.phpPatch, Vendor Advisory
- http://www.php.net/releases/5_2_4.phpPatch, Vendor Advisory
- http://www.php.net/releases/5_2_5.phpPatch, Vendor Advisory
- http://www.securityfocus.com/archive/1/472343/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/archive/1/491693/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/24661Patch, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/25498Patch, Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0026/Broken Link
- http://www.vupen.com/english/advisories/2007/3023Permissions Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059Permissions Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0398Permissions Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0924/referencesPermissions Required, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35102Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39403Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693Broken Link
- https://issues.rpath.com/browse/RPL-1702Broken Link
- http://docs.info.apple.com/article.html?artnum=307562Third Party Advisory
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.htmlMailing List, Third Party Advisory
- http://secunia.com/advisories/26642Third Party Advisory
- http://secunia.com/advisories/26822Third Party Advisory
- http://secunia.com/advisories/26838Third Party Advisory
- http://secunia.com/advisories/27102Third Party Advisory
- http://secunia.com/advisories/27377Third Party Advisory
- http://secunia.com/advisories/27648Third Party Advisory
- http://secunia.com/advisories/28318Third Party Advisory
- http://secunia.com/advisories/28750Third Party Advisory
- http://secunia.com/advisories/28936Third Party Advisory
- http://secunia.com/advisories/29420Third Party Advisory
- http://secunia.com/advisories/30040Third Party Advisory
- http://securityreason.com/achievement_exploitalert/9Third Party Advisory
- http://securityreason.com/achievement_securityalert/45Exploit, Third Party Advisory
- http://securityreason.com/securityalert/2831Exploit, Third Party Advisory
- http://securityreason.com/securityalert/3389Exploit, Third Party Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136Mailing List, Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.osvdb.org/38682Broken Link
- http://www.php.net/ChangeLog-4.phpPatch, Vendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4Patch, Vendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.5Patch, Vendor Advisory
- http://www.php.net/releases/4_4_8.phpPatch, Vendor Advisory
- http://www.php.net/releases/5_2_4.phpPatch, Vendor Advisory
- http://www.php.net/releases/5_2_5.phpPatch, Vendor Advisory
- http://www.securityfocus.com/archive/1/472343/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/archive/1/491693/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/24661Patch, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/25498Patch, Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0026/Broken Link
- http://www.vupen.com/english/advisories/2007/3023Permissions Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059Permissions Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0398Permissions Required, Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0924/referencesPermissions Required, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35102Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39403Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693Broken Link
- https://issues.rpath.com/browse/RPL-1702Broken Link
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2007-3378?
How severe is CVE-2007-3378?
How do I fix CVE-2007-3378?
Are you affected by CVE-2007-3378?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
