First published: Tue Sep 04 2007(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | >=4.0.0<4.4.8 | |
PHP | >=5.0.0<5.2.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-3997 is considered a critical vulnerability due to its ability to bypass security restrictions.
To fix CVE-2007-3997, upgrade PHP to version 4.4.8 or 5.2.4 or later.
CVE-2007-3997 affects PHP versions prior to 4.4.8 and 5.2.4.
The risks include unauthorized file access and potential data theft due to the bypass of safe_mode and open_basedir restrictions.
Yes, attackers can exploit CVE-2007-3997 remotely through MySQL LOCAL INFILE operations.