Input validation error in PHP - CVE-2007-4889

 

Input validation error in PHP - CVE-2007-4889

Published: October 15, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110360
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-4889
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


Affected software

PHP

How to mitigate CVE-2007-4889

Install update from vendor's website.

PHP - update to 5.2.5

External References

Related Security Bulletins