CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : 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.
Publish Date : 2007-03-10 Last Update Date : 2008-09-05
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s)
CWE ID CWE id is not defined for this vulnerability

- Vendor Statements

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.
Source: Redhat

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2007-1396 oval:org.opensuse.security:def:20071396 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-1396

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.0.7 Version Details Vulnerabilities
2 Application PHP PHP 4.1.0 Version Details Vulnerabilities
3 Application PHP PHP 4.1.1 Version Details Vulnerabilities
4 Application PHP PHP 4.1.2 Version Details Vulnerabilities
5 Application PHP PHP 4.2.0 Version Details Vulnerabilities
6 Application PHP PHP 4.2.1 Version Details Vulnerabilities
7 Application PHP PHP 4.2.2 Version Details Vulnerabilities
8 Application PHP PHP 4.2.3 Version Details Vulnerabilities
9 Application PHP PHP 4.3 Version Details Vulnerabilities
10 Application PHP PHP 4.3.1 Version Details Vulnerabilities
11 Application PHP PHP 4.3.2 Version Details Vulnerabilities
12 Application PHP PHP 4.3.3 Version Details Vulnerabilities
13 Application PHP PHP 4.3.4 Version Details Vulnerabilities
14 Application PHP PHP 4.3.5 Version Details Vulnerabilities
15 Application PHP PHP 4.3.6 Version Details Vulnerabilities
16 Application PHP PHP 4.3.7 Version Details Vulnerabilities
17 Application PHP PHP 4.3.8 Version Details Vulnerabilities
18 Application PHP PHP 4.3.9 Version Details Vulnerabilities
19 Application PHP PHP 4.3.10 Version Details Vulnerabilities
20 Application PHP PHP 4.3.11 Version Details Vulnerabilities
21 Application PHP PHP 4.4.0 Version Details Vulnerabilities
22 Application PHP PHP 4.4.1 Version Details Vulnerabilities
23 Application PHP PHP 4.4.2 Version Details Vulnerabilities
24 Application PHP PHP 4.4.3 Version Details Vulnerabilities
25 Application PHP PHP 4.4.4 Version Details Vulnerabilities
26 Application PHP PHP 4.4.5 Version Details Vulnerabilities
27 Application PHP PHP 4.4.6 Version Details Vulnerabilities
28 Application PHP PHP 5.0.0 Version Details Vulnerabilities
29 Application PHP PHP 5.0.1 Version Details Vulnerabilities
30 Application PHP PHP 5.0.2 Version Details Vulnerabilities
31 Application PHP PHP 5.0.3 Version Details Vulnerabilities
32 Application PHP PHP 5.0.4 Version Details Vulnerabilities
33 Application PHP PHP 5.0.5 Version Details Vulnerabilities
34 Application PHP PHP 5.1 Version Details Vulnerabilities
35 Application PHP PHP 5.1.0 Version Details Vulnerabilities
36 Application PHP PHP 5.1.1 Version Details Vulnerabilities
37 Application PHP PHP 5.1.2 Version Details Vulnerabilities
38 Application PHP PHP 5.1.3 Version Details Vulnerabilities
39 Application PHP PHP 5.1.4 Version Details Vulnerabilities
40 Application PHP PHP 5.1.5 Version Details Vulnerabilities
41 Application PHP PHP 5.1.6 Version Details Vulnerabilities
42 Application PHP PHP 5.2.0 Version Details Vulnerabilities
43 Application PHP PHP 5.2.1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 43

- References For CVE-2007-1396

http://us2.php.net/releases/4_4_7.php CONFIRM
http://securityreason.com/securityalert/2406
SREASON 2406
http://us2.php.net/releases/5_2_2.php CONFIRM
http://www.securityfocus.com/archive/1/archive/1/462263/100/0/threaded
BUGTRAQ 20070308 PHP import_request_variables() arbitrary variable overwrite
http://www.securityfocus.com/archive/1/archive/1/462457/100/0/threaded
BUGTRAQ 20070310 Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite
http://www.securityfocus.com/archive/1/archive/1/462658/100/0/threaded
BUGTRAQ 20070312 Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite
http://www.securityfocus.com/bid/22886
BID 22886 PHP Import_Request_Variables Arbitrary Variable Overwrite Vulnerability Release Date:2007-07-12
http://www.securityfocus.com/archive/1/archive/1/462800/100/0/threaded
BUGTRAQ 20070314 Re: Re: [Full-disclosure] PHP import_request_variables() arbitrary variable overwrite
http://secunia.com/advisories/26048
SECUNIA 26048
http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html
SUSE SUSE-SA:2007:044

- Metasploit Modules Related To CVE-2007-1396

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.