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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (3 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (10)
- 20070308 PHP import_request_variables() arbitrary variable overwrite (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20070314 Re: Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 26048 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 22886 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://us2.php.net/releases/4_4_7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 2406 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 20070310 Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20070312 Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://us2.php.net/releases/5_2_2.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SA:2007:044 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-1396)Record last updated .