#VU110360 Input validation error in PHP - CVE-2007-4889


| Updated: 2025-06-08

Vulnerability identifier: #VU110360

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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/E:U/U:Green]

CVE-ID: CVE-2007-4889

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 5.2, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4


External links
https://securityreason.com/securityalert/3134
https://www.securityfocus.com/archive/1/479082/100/0/threaded
https://www.securityfocus.com/archive/1/479187/100/200/threaded
https://www.securityfocus.com/archive/1/479189/100/200/threaded
https://exchange.xforce.ibmcloud.com/vulnerabilities/36555


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability