Mission and Overview
NVD is the U.S. government repository of standards based vulnerability management data. This data enables automation of vulnerability management, security measurement, and compliance (e.g. FISMA).
Resource Status
NVD contains:
CVE Vulnerabilities
38433
Checklists
128
US-CERT Alerts
179
US-CERT Vuln Notes
2345
OVAL Queries
2517
CPE Names
17819

Last updated: Tue Aug 25 17:45:33 EDT 2009

CVE Publication rate: 17.47

Email List

NVD provides four mailing lists to the public. For information and subscription instructions please visit NVD Mailing Lists

Workload Index

Vulnerability Workload Index: 10.37

About Us
NVD is a product of the NIST Computer Security Division and is sponsored by the Department of Homeland Security's National Cyber Security Division. It supports the U.S. government multi-agency (OSD, DHS, NSA, DISA, and NIST) Information Security Automation Program. It is the U.S. government content repository for the Security Content Automation Protocol (SCAP).

National Cyber-Alert System

Vulnerability Summary for CVE-2007-3997

Original release date:09/04/2007
Last revised:08/19/2009
Source: US-CERT/NIST

Overview

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.

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:7.5 (HIGH) (AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

Vendor Statments (disclaimer)

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.
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

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 nvd@nist.gov.

External Source: SECUNIA
Name: 26642
Type: Advisory; Patch Information
External Source: CONFIRM
Name: http://www.php.net/releases/5_2_4.php
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-5.php#5.2.4
External Source: MILW0RM
Name: 4392
External Source: MISC
Name: http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/
External Source: CONFIRM
Name: https://issues.rpath.com/browse/RPL-1702
External Source: CONFIRM
Name: https://issues.rpath.com/browse/RPL-1693
External Source: XF
Name: php-localinfile-mysql-security-bypass(39402)
External Source: XF
Name: php-local-infile-security-bypass(36384)
External Source: TRUSTIX
Name: 2007-0026
External Source: CONFIRM
Name: http://www.php.net/releases/4_4_8.php
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-4.php
External Source: GENTOO
Name: GLSA-200710-02
External Source: VUPEN
Name: ADV-2007-3023
External Source: SREASON
Name: 3102
External Source: SECUNIA
Name: 28318
External Source: SECUNIA
Name: 27377
External Source: SECUNIA
Name: 27102
External Source: SECUNIA
Name: 26838
External Source: SECUNIA
Name: 26822

Vulnerable software and versions

Nav control imageConfiguration 1
spacerNav control imageOR
spacerspacerNav control image* cpe:/a:php:php:4.4.7 and previous versions
spacerspacerNav control image* cpe:/a:php:php:5.2.3 and previous versions
* Denotes Vulnerable Software

Technical Details

Vulnerability Type (View All)
  • Permissions, Privileges, and Access Control (CWE-264)