Skip to content

CVE-2007-1396 The import_request_variables function in PHP 4.0.7 through 4.4.6, and 5.x before 5.2.2, when called without a prefix, does not prevent the (1) GET, (2) POST, (3) COOKIE, (4) FILES, (5) SERVER, (6) SES...

MediumCVSS 6.8 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

Description

The import_request_variables function in PHP 4.0.7 through 4.4.6, and 5.x before 5.2.2, when called without a prefix, does not prevent the (1) GET, (2) POST, (3) COOKIE, (4) FILES, (5) SERVER, (6) SESSION, and other superglobals from being overwritten, which allows remote attackers to spoof source IP address and Referer data, and have other unspecified impact. NOTE: it could be argued that this is a design limitation of PHP and that only the misuse of this feature, i.e. implementation bugs in applications, should be included in CVE. However, it has been fixed by the vendor.

Affected products

ProductAffected versionsFixed in
PHP = 4.0.7 No fix listed
PHP = 4.1.0 No fix listed
PHP = 4.1.1 No fix listed
PHP = 4.1.2 No fix listed
PHP = 4.2.0 No fix listed
PHP = 4.2.1 No fix listed
PHP = 4.2.2 No fix listed
PHP = 4.2.3 No fix listed
PHP = 4.3.0 No fix listed
PHP = 4.3.1 No fix listed
PHP = 4.3.2 No fix listed
PHP = 4.3.3 No fix listed
PHP = 4.3.4 No fix listed
PHP = 4.3.5 No fix listed
PHP = 4.3.6 No fix listed
PHP = 4.3.7 No fix listed
PHP = 4.3.8 No fix listed
PHP = 4.3.9 No fix listed
PHP = 4.3.10 No fix listed
PHP = 4.3.11 No fix listed
PHP = 4.4.0 No fix listed
PHP = 4.4.1 No fix listed
PHP = 4.4.2 No fix listed
PHP = 4.4.3 No fix listed
PHP = 4.4.4 No fix listed
Show 17 more
ProductAffected versionsFixed in
PHP = 4.4.5 No fix listed
PHP = 4.4.6 No fix listed
PHP = 5.0.0 No fix listed
PHP = 5.0.1 No fix listed
PHP = 5.0.2 No fix listed
PHP = 5.0.3 No fix listed
PHP = 5.0.4 No fix listed
PHP = 5.0.5 No fix listed
PHP = 5.1.0 No fix listed
PHP = 5.1.1 No fix listed
PHP = 5.1.2 No fix listed
PHP = 5.1.3 No fix listed
PHP = 5.1.4 No fix listed
PHP = 5.1.5 No fix listed
PHP = 5.1.6 No fix listed
PHP = 5.2.0 No fix listed
PHP = 5.2.1 No fix listed

References