Vulnerability in PHP
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) 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.019, 80.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 4.0.7, 4.1.0, 4.1.1
References
- 20070308 PHP import_request_variables() arbitrary variable overwrite (mailing-list)
- 20070314 Re: Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite (mailing-list)
- secunia.com/advisories/26048 (third-party-advisory)
- www.securityfocus.com/bid/22886 (vdb-entry)
- us2.php.net/releases/4_4_7.php
- securityreason.com/securityalert/2406 (third-party-advisory)
- 20070310 Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite (mailing-list)
- 20070312 Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite (mailing-list)
- us2.php.net/releases/5_2_2.php
- SUSE-SA:2007:044 (vendor-advisory)