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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2007
- CVE-2007-3372The Avahi daemon in Avahi before 0.6.20 allows attackers to …
- CVE-2007-3373daemon.c in cman (redhat-cluster-suite) before 20070622 does…
- CVE-2007-3374Buffer overflow in cluster/cman/daemon/daemon.c in cman (red…
- CVE-2007-3375Stack-based buffer overflow in Lhaca File Archiver before 1.…
- CVE-2007-3376Buffer overflow in Apple Safari 3.0.2 on Windows XP SP2 allo…
- CVE-2007-3377Header.pm in Net::DNS before 0.60, a Perl module, (1) genera…
- CVE-2007-3379Unspecified vulnerability in the kernel in Red Hat Enterpris…
- CVE-2007-3380The Distributed Lock Manager (DLM) in the cluster manager fo…
- CVE-2007-3381The GDM daemon in GNOME Display Manager (GDM) before 2.14.13…
- CVE-2007-3382Apache Tomcat 6.0.0 to 6.0.13, 5.5.0 to 5.5.24, 5.0.0 to 5.0…
- CVE-2007-3383Cross-site scripting (XSS) vulnerability in SendMailServlet …
- CVE-2007-3384Multiple cross-site scripting (XSS) vulnerabilities in examp…
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
