Input validation error in PHP - CVE-2007-1583

 

Input validation error in PHP - CVE-2007-1583

Published: October 30, 2018 / Updated: June 9, 2025


Vulnerability identifier: #VU110430
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-1583
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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

The mb_parse_str function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 sets the internal register_globals flag and does not disable it in certain cases when a script terminates, which allows remote attackers to invoke available PHP scripts with register_globals functionality that is not detectable by these scripts, as demonstrated by forcing a memory_limit violation.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-1583

Install update from vendor's website.

PHP - addressed in versions 4.4.7, 4.10, 5.2.2
dev-lang/php - update to 5.2.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins