CVE-2007-4889Php Mysql Extension
Medium 6.8 No auth needed
Follow: this CVE · Php · Php Mysql Extension We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 2.0
- 6.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Sep 14, 2007
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
The MySQL extension in PHP 5.2.4 and earlier allows remote attackers to bypass safe_mode and open_basedir restrictions via the MySQL (1) LOAD_FILE, (2) INTO DUMPFILE, and (3) INTO OUTFILE functions, a different issue than CVE-2007-3997.
What to do
- Apply the vendor's security update for Mysql Extension.
- 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 | mysql_extension | all |
| php | php | ≤ 5.2.4 |
Official sources
References
Links published by the sources. Open them with care.