You are viewing this page in an unauthorized frame window.

This is a potential security issue, you are being redirected to https://nvd.nist.gov

You have JavaScript disabled. This site requires JavaScript to be enabled for complete site functionality.

U.S. flag An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

  1. Vulnerabilities

CVE-2007-3997 Detail

Deferred

This CVE record is not being prioritized for NVD enrichment efforts due to resource or other concerns.

Description

The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.
CVSS 3.x Severity and Vector Strings:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD assessment not yet provided.
CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology
NIST: NVD
Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P)

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/05/2007)

We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

Official Statement from Mandriva (09/18/2007)

Due to the nature of safe_mode and open_basedir restrictions, and in alignment with the PHP group’s stance on these features, Mandriva does not consider this a security issue.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://secunia.com/advisories/26642 CVE, MITRE Third Party Advisory
http://secunia.com/advisories/26822 CVE, MITRE Third Party Advisory
http://secunia.com/advisories/26838 CVE, MITRE Third Party Advisory
http://secunia.com/advisories/27102 CVE, MITRE Third Party Advisory
http://secunia.com/advisories/27377 CVE, MITRE Third Party Advisory
http://secunia.com/advisories/28318 CVE, MITRE Third Party Advisory
http://securityreason.com/securityalert/3102 CVE, MITRE Exploit Third Party Advisory
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/ CVE, MITRE Exploit Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml CVE, MITRE Third Party Advisory
http://www.php.net/ChangeLog-4.php CVE, MITRE Vendor Advisory
http://www.php.net/ChangeLog-5.php#5.2.4 CVE, MITRE Vendor Advisory
http://www.php.net/releases/4_4_8.php CVE, MITRE Vendor Advisory
http://www.php.net/releases/5_2_4.php CVE, MITRE Vendor Advisory
http://www.trustix.org/errata/2007/0026/ CVE, MITRE Broken Link
http://www.vupen.com/english/advisories/2007/3023 CVE, MITRE Permissions Required Third Party Advisory
http://www.vupen.com/english/advisories/2008/0059 CVE, MITRE Permissions Required Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384 CVE, MITRE Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402 CVE, MITRE Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-1693 CVE, MITRE Broken Link
https://issues.rpath.com/browse/RPL-1702 CVE, MITRE Broken Link
https://www.exploit-db.com/exploits/4392 CVE, MITRE Third Party Advisory VDB Entry

Weakness Enumeration

CWE-ID CWE Name Source
CWE-264 Permissions, Privileges, and Access Controls cwe source acceptance level NIST

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

CVE Modified by CVE 11/20/2024 7:34:32 PM

Action Type Old Value New Value
Added Reference
http://secunia.com/advisories/26642


Added Reference
http://secunia.com/advisories/26822


Added Reference
http://secunia.com/advisories/26838


Added Reference
http://secunia.com/advisories/27102


Added Reference
http://secunia.com/advisories/27377


Added Reference
http://secunia.com/advisories/28318


Added Reference
http://securityreason.com/securityalert/3102


Added Reference
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/


Added Reference
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml


Added Reference
http://www.php.net/ChangeLog-4.php


Added Reference
http://www.php.net/ChangeLog-5.php#5.2.4


Added Reference
http://www.php.net/releases/4_4_8.php


Added Reference
http://www.php.net/releases/5_2_4.php


Added Reference
http://www.trustix.org/errata/2007/0026/


Added Reference
http://www.vupen.com/english/advisories/2007/3023


Added Reference
http://www.vupen.com/english/advisories/2008/0059


Added Reference
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384


Added Reference
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402


Added Reference
https://issues.rpath.com/browse/RPL-1693


Added Reference
https://issues.rpath.com/browse/RPL-1702


Added Reference
https://www.exploit-db.com/exploits/4392


CVE Modified by MITRE 5/13/2024 9:46:54 PM

Action Type Old Value New Value

Modified Analysis by NIST 10/26/2018 9:59:38 AM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (including) 4.4.7
 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (including) 5.2.3


OR
 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.4.8
 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.2.4


Changed Reference Type
http://secunia.com/advisories/26642 Patch, Vendor Advisory


http://secunia.com/advisories/26642 Third Party Advisory


Changed Reference Type
http://secunia.com/advisories/26822 No Types Assigned


http://secunia.com/advisories/26822 Third Party Advisory


Changed Reference Type
http://secunia.com/advisories/26838 No Types Assigned


http://secunia.com/advisories/26838 Third Party Advisory


Changed Reference Type
http://secunia.com/advisories/27102 No Types Assigned


http://secunia.com/advisories/27102 Third Party Advisory


Changed Reference Type
http://secunia.com/advisories/27377 No Types Assigned


http://secunia.com/advisories/27377 Third Party Advisory


Changed Reference Type
http://secunia.com/advisories/28318 No Types Assigned


http://secunia.com/advisories/28318 Third Party Advisory


Changed Reference Type
http://securityreason.com/securityalert/3102 No Types Assigned


http://securityreason.com/securityalert/3102 Exploit, Third Party Advisory


Changed Reference Type
http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/ Exploit


http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/ Exploit, Third Party Advisory


Changed Reference Type
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml No Types Assigned


http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory


Changed Reference Type
http://www.php.net/ChangeLog-4.php No Types Assigned


http://www.php.net/ChangeLog-4.php Vendor Advisory


Changed Reference Type
http://www.php.net/ChangeLog-5.php#5.2.4 No Types Assigned


http://www.php.net/ChangeLog-5.php#5.2.4 Vendor Advisory


Changed Reference Type
http://www.php.net/releases/4_4_8.php No Types Assigned


http://www.php.net/releases/4_4_8.php Vendor Advisory


Changed Reference Type
http://www.php.net/releases/5_2_4.php No Types Assigned


http://www.php.net/releases/5_2_4.php Vendor Advisory


Changed Reference Type
http://www.trustix.org/errata/2007/0026/ No Types Assigned


http://www.trustix.org/errata/2007/0026/ Broken Link


Changed Reference Type
http://www.vupen.com/english/advisories/2007/3023 No Types Assigned


http://www.vupen.com/english/advisories/2007/3023 Permissions Required, Third Party Advisory


Changed Reference Type
http://www.vupen.com/english/advisories/2008/0059 No Types Assigned


http://www.vupen.com/english/advisories/2008/0059 Permissions Required, Third Party Advisory


Changed Reference Type
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384 No Types Assigned


https://exchange.xforce.ibmcloud.com/vulnerabilities/36384 Third Party Advisory, VDB Entry


Changed Reference Type
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402 No Types Assigned


https://exchange.xforce.ibmcloud.com/vulnerabilities/39402 Third Party Advisory, VDB Entry


Changed Reference Type
https://issues.rpath.com/browse/RPL-1693 No Types Assigned


https://issues.rpath.com/browse/RPL-1693 Broken Link


Changed Reference Type
https://issues.rpath.com/browse/RPL-1702 No Types Assigned


https://issues.rpath.com/browse/RPL-1702 Broken Link


Changed Reference Type
https://www.exploit-db.com/exploits/4392 No Types Assigned


https://www.exploit-db.com/exploits/4392 Third Party Advisory, VDB Entry


CVE Modified by MITRE 9/28/2017 9:29:11 PM

Action Type Old Value New Value
Added Reference
https://www.exploit-db.com/exploits/4392 [No Types Assigned]


Removed Reference
http://www.milw0rm.com/exploits/4392 [No Types Assigned]


CVE Modified by MITRE 7/28/2017 9:32:40 PM

Action Type Old Value New Value
Added Reference
https://exchange.xforce.ibmcloud.com/vulnerabilities/36384 [No Types Assigned]


Added Reference
https://exchange.xforce.ibmcloud.com/vulnerabilities/39402 [No Types Assigned]


Removed Reference
http://xforce.iss.net/xforce/xfdb/36384 [No Types Assigned]


Removed Reference
http://xforce.iss.net/xforce/xfdb/39402 [No Types Assigned]


Initial CVE Analysis 9/05/2007 8:24:00 AM

Action Type Old Value New Value

Quick Info

CVE Dictionary Entry:
CVE-2007-3997
NVD Published Date:
09/04/2007
NVD Last Modified:
04/08/2025
Source:
MITRE

AltStyle によって変換されたページ (->オリジナル) /