All vulnerabilities

Servers and applications

CVE-2007-4889

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.

Severity
Medium 6.8
Published
14 Sept 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
1.2% in the next 30 daysHigher than 69% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version up to 5.2.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4889
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4889