CVE-2007-1396
Published Mar 10, 2007
Last updated 6 years ago
Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 6.8
- Impact score
- 6.4
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- NVD-CWE-Other
Vendor comments
- Red HatRed 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.
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2D724D09-0D45-4701-93C9-348301217C8C" }, { "criteria": "cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6713614A-B14E-4A85-BF89-ED780068FC68" }, { "criteria": "cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FD95F8EB-B428-4B3C-9254-A5DECE03A989" }, { "criteria": "cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "069EB7EE-06B9-454F-9007-8DE5DCA33C53" }, { "criteria": "cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "18BF5BE6-09EA-45AD-93BF-2BEF1742534E" }, { "criteria": "cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EC1460DF-1687-4314-BF1A-01290B20302D" }, { "criteria": "cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "470380B0-3982-48FC-871B-C8B43C81900D" }, { "criteria": "cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9FAA7712-10F0-4BB6-BAFB-D0806AFD9DE2" }, { "criteria": "cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "63190D9B-7958-4B93-87C6-E7D5A572F6DC" }, { "criteria": "cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7AB2E2E8-81D6-4973-AC0F-AA644EE99DD3" }, { "criteria": "cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4AAF4586-74FF-47C6-864B-656FDF3F33D0" }, { "criteria": "cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B14EF0C7-61F2-47A4-B7F8-43FF03C62DCA" }, { "criteria": "cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5245F990-B4A7-4ED8-909D-B8137CE79FAA" }, { "criteria": "cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5652D5B0-68E4-4239-B9B7-599AFCF4C53E" }, { "criteria": "cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "57B71BB7-5239-4860-9100-8CABC3992D8C" }, { "criteria": "cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "72BD447A-4EED-482C-8F61-48FAD4FCF8BA" }, { "criteria": "cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B3F9DF9D-15E5-4387-ABE3-A7583331A928" }, { "criteria": "cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "11579E5C-D7CF-46EE-B015-5F4185C174E7" }, { "criteria": "cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C69CDE21-2FD4-4529-8F02-8709CF5E3D7E" }, { "criteria": "cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "221B9AC4-C63C-4386-B3BD-E4BC102C6124" }, { "criteria": "cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "78B7BA75-2A32-4A8E-ADF8-BCB4FC48CB5C" }, { "criteria": "cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2BEA491B-77FD-4760-8F6F-3EBC6BD810D9" }, { "criteria": "cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BB25CFBB-347C-479E-8853-F49DD6CBD7D4" }, { "criteria": "cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4D2937B3-D034-400E-84F5-33833CE3764D" }, { "criteria": "cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "71AEE8B4-FCF8-483B-8D4C-2E80A02E925E" }, { "criteria": "cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4C2AF1D9-33B6-4B2C-9269-426B6B720164" }, { "criteria": "cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "84B70263-37AA-4539-A286-12038A3792C6" }, { "criteria": "cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7007E77F-60EF-44D8-9676-15B59DF1325F" }, { "criteria": "cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "17437AED-816A-4CCF-96DE-8C3D0CC8DB2B" }, { "criteria": "cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "74E7AE59-1CB0-4300-BBE0-109F909789EF" }, { "criteria": "cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9222821E-370F-4616-B787-CC22C2F4E7CD" }, { "criteria": "cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9809449F-9A76-4318-B233-B4C2950A6EA9" }, { "criteria": "cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0AA962D4-A4EC-4DC3-B8A9-D10941B92781" }, { "criteria": "cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F8CDFEF9-C367-4800-8A2F-375C261FAE55" }, { "criteria": "cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "16E43B88-1563-4EFD-9267-AE3E8C35D67A" }, { "criteria": "cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "11E5715F-A8BC-49EF-836B-BB78E1BC0790" }, { "criteria": "cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5FA68843-158E-463E-B68A-1ACF041C4E10" }, { "criteria": "cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1874F637-77E2-4C4A-BF92-AEE96A60BFB0" }, { "criteria": "cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9592B32E-55CD-42D0-901E-8319823BC820" }, { "criteria": "cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A9BF34B5-F74C-4D56-9841-42452D60CB87" }, { "criteria": "cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "CD02D837-FD28-4E0F-93F8-25E8D1C84A99" }, { "criteria": "cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "88358D1E-BE6F-4CE3-A522-83D1FA4739E3" } ], "operator": "OR" } ] } ]