CVE-2007-3997Php
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 2.0
- 7.5
- EPSS
- 13.8% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Sep 4, 2007
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 4.0.0 < 4.4.8 |
| php | php | ≥ 5.0.0 < 5.2.4 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- securityreason.com Exploit Third Party Advisory
- secweb.se Exploit Third Party Advisory
- www.gentoo.org Third Party Advisory
- www.php.net Vendor Advisory
- www.php.net Vendor Advisory
- www.php.net Vendor Advisory
- www.php.net Vendor Advisory
- www.trustix.org Broken Link
- www.vupen.com Permissions Required Third Party Advisory
- www.vupen.com Permissions Required Third Party Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- issues.rpath.com Broken Link
- issues.rpath.com Broken Link
- www.exploit-db.com Third Party Advisory VDB Entry