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
Published Mar 10, 2007
6.8
MEDIUMCVSS 2.0
EPSS 1.86%
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
No data.
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat does not consider this to be a security vulnerability. Using import_request_variables() is generally a discouraged practice and it is improper use that can lead to security problems, not flaw of PHP itself.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.86% (0.01864) | 78.51th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.86% (0.01864) | 76.47th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.77% (0.01772) | 81.43th | v4 (v2025.03.14) |
| Dec 12, 2024 | 6.87% (0.06865) | 94.17th | v3 (v2023.03.01) |
| Jun 13, 2024 | 6.87% (0.06865) | 93.92th | v3 (v2023.03.01) |
| Mar 28, 2024 | 4.97% (0.04967) | 92.66th | v3 (v2023.03.01) |
| Feb 19, 2024 | 3.72% (0.03715) | 91.47th | v3 (v2023.03.01) |
| Jan 12, 2024 | 3.43% (0.03426) | 90.53th | v3 (v2023.03.01) |
| Dec 5, 2023 | 3.13% (0.03133) | 90.02th | v3 (v2023.03.01) |
| Oct 28, 2023 | 1.35% (0.01348) | 84.68th | v3 (v2023.03.01) |
| Aug 12, 2023 | 1.30% (0.01300) | 84.16th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.16% (0.01155) | 82.64th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
No CWE recorded.
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/26048 third-party-advisoryx_refsource_SECUNIA
- http://securityreason.com/securityalert/2406 third-party-advisoryx_refsource_SREASON
- http://us2.php.net/releases/4_4_7.php x_refsource_CONFIRM
- http://us2.php.net/releases/5_2_2.php x_refsource_CONFIRM
- http://www.securityfocus.com/archive/1/462263/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/archive/1/462457/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/archive/1/462658/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/archive/1/462800/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/22886 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2007-1396 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-1396
- https://www.cve.org/CVERecord?id=CVE-2007-1396
| Link | Providers | Tags |
|---|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html | vendor-advisoryx_refsource_SUSE | |
| http://secunia.com/advisories/26048 | third-party-advisoryx_refsource_SECUNIA | |
| http://securityreason.com/securityalert/2406 | third-party-advisoryx_refsource_SREASON | |
| http://us2.php.net/releases/4_4_7.php | x_refsource_CONFIRM | |
| http://us2.php.net/releases/5_2_2.php | x_refsource_CONFIRM | |
| http://www.securityfocus.com/archive/1/462263/100/0/threaded | mailing-listx_refsource_BUGTRAQ | |
| http://www.securityfocus.com/archive/1/462457/100/0/threaded | mailing-listx_refsource_BUGTRAQ | |
| http://www.securityfocus.com/archive/1/462658/100/0/threaded | mailing-listx_refsource_BUGTRAQ | |
| http://www.securityfocus.com/archive/1/462800/100/0/threaded | mailing-listx_refsource_BUGTRAQ | |
| http://www.securityfocus.com/bid/22886 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2007-1396 | Vendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1396 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1396 |
Change history (0)
No recorded changes yet.