the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2007-1884

Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.
Publish Date : 2007-04-05 Last Update Date : 2018-10-30
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
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 User
Vulnerability Type(s) Execute CodeBypass a restriction or similar
CWE ID CWE id is not defined for this vulnerability

- Vendor Statements

The PHP interpreter does not offer a reliable "sandboxed" security layer (as found in, say, a JVM) in which untrusted scripts can be run; any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself. We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.
Source: Redhat

- Products Affected By CVE-2007-1884

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 4.0 RC2 Version Details Vulnerabilities
2 Application PHP PHP 4.0 Beta2 Version Details Vulnerabilities
3 Application PHP PHP 4.0 Beta3 Version Details Vulnerabilities
4 Application PHP PHP 4.0 Beta4 Version Details Vulnerabilities
5 Application PHP PHP 4.0 Beta 4 Patch1 Version Details Vulnerabilities
6 Application PHP PHP 4.0 Version Details Vulnerabilities
7 Application PHP PHP 4.0 RC1 Version Details Vulnerabilities
8 Application PHP PHP 4.0 Beta1 Version Details Vulnerabilities
9 Application PHP PHP 4.0.0 Version Details Vulnerabilities
10 Application PHP PHP 4.0.1 Version Details Vulnerabilities
11 Application PHP PHP 4.0.1 Patch1 Version Details Vulnerabilities
12 Application PHP PHP 4.0.1 Patch2 Version Details Vulnerabilities
13 Application PHP PHP 4.0.2 Version Details Vulnerabilities
14 Application PHP PHP 4.0.3 Version Details Vulnerabilities
15 Application PHP PHP 4.0.3 Patch1 Version Details Vulnerabilities
16 Application PHP PHP 4.0.4 Version Details Vulnerabilities
17 Application PHP PHP 4.0.4 Patch1 Version Details Vulnerabilities
18 Application PHP PHP 4.0.5 Version Details Vulnerabilities
19 Application PHP PHP 4.0.6 Version Details Vulnerabilities
20 Application PHP PHP 4.0.7 Version Details Vulnerabilities
21 Application PHP PHP 4.0.7 RC1 Version Details Vulnerabilities
22 Application PHP PHP 4.0.7 RC2 Version Details Vulnerabilities
23 Application PHP PHP 4.0.7 RC3 Version Details Vulnerabilities
24 Application PHP PHP 4.1.0 Version Details Vulnerabilities
25 Application PHP PHP 4.1.1 Version Details Vulnerabilities
26 Application PHP PHP 4.1.2 Version Details Vulnerabilities
27 Application PHP PHP 4.2 DEV Version Details Vulnerabilities
28 Application PHP PHP 4.2.0 Version Details Vulnerabilities
29 Application PHP PHP 4.2.1 Version Details Vulnerabilities
30 Application PHP PHP 4.2.2 Version Details Vulnerabilities
31 Application PHP PHP 4.2.3 Version Details Vulnerabilities
32 Application PHP PHP 4.3.0 Version Details Vulnerabilities
33 Application PHP PHP 4.3.1 Version Details Vulnerabilities
34 Application PHP PHP 4.3.2 Version Details Vulnerabilities
35 Application PHP PHP 4.3.3 Version Details Vulnerabilities
36 Application PHP PHP 4.3.4 Version Details Vulnerabilities
37 Application PHP PHP 4.3.5 Version Details Vulnerabilities
38 Application PHP PHP 4.3.6 Version Details Vulnerabilities
39 Application PHP PHP 4.3.7 Version Details Vulnerabilities
40 Application PHP PHP 4.3.8 Version Details Vulnerabilities
41 Application PHP PHP 4.3.9 Version Details Vulnerabilities
42 Application PHP PHP 4.3.10 Version Details Vulnerabilities
43 Application PHP PHP 4.3.11 Version Details Vulnerabilities
44 Application PHP PHP 4.4.0 Version Details Vulnerabilities
45 Application PHP PHP 4.4.1 Version Details Vulnerabilities
46 Application PHP PHP 4.4.2 Version Details Vulnerabilities
47 Application PHP PHP 4.4.3 Version Details Vulnerabilities
48 Application PHP PHP 4.4.4 Version Details Vulnerabilities
49 Application PHP PHP 5.0 RC1 Version Details Vulnerabilities
50 Application PHP PHP 5.0 RC2 Version Details Vulnerabilities
51 Application PHP PHP 5.0 RC3 Version Details Vulnerabilities
52 Application PHP PHP 5.0.0 RC1 Version Details Vulnerabilities
53 Application PHP PHP 5.0.0 Version Details Vulnerabilities
54 Application PHP PHP 5.0.0 RC2 Version Details Vulnerabilities
55 Application PHP PHP 5.0.0 Beta1 Version Details Vulnerabilities
56 Application PHP PHP 5.0.0 RC3 Version Details Vulnerabilities
57 Application PHP PHP 5.0.0 Beta2 Version Details Vulnerabilities
58 Application PHP PHP 5.0.0 Beta3 Version Details Vulnerabilities
59 Application PHP PHP 5.0.0 Beta4 Version Details Vulnerabilities
60 Application PHP PHP 5.0.1 Version Details Vulnerabilities
61 Application PHP PHP 5.0.2 Version Details Vulnerabilities
62 Application PHP PHP 5.0.3 Version Details Vulnerabilities
63 Application PHP PHP 5.0.4 Version Details Vulnerabilities
64 Application PHP PHP 5.0.5 Version Details Vulnerabilities
65 Application PHP PHP 5.1.0 Version Details Vulnerabilities
66 Application PHP PHP 5.1.1 Version Details Vulnerabilities
67 Application PHP PHP 5.1.2 Version Details Vulnerabilities
68 Application PHP PHP 5.1.3 Version Details Vulnerabilities
69 Application PHP PHP 5.1.4 Version Details Vulnerabilities
70 Application PHP PHP 5.1.5 Version Details Vulnerabilities
71 Application PHP PHP 5.1.6 Version Details Vulnerabilities
72 Application PHP PHP 5.2.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions

- References For CVE-2007-1884
VUPEN ADV-2007-2374
XF php-printf-format-string(33755)
VUPEN ADV-2007-1991
BID 23219 PHP Printf() Function 64bit Casting Multiple Format String Vulnerabilities Release Date:2007-07-05 CONFIRM

- Vulnerability Conditions

Vulnerability is valid if product versions listed below are used TOGETHER WITH(AND)

- Metasploit Modules Related To CVE-2007-1884

There are not any metasploit modules related to this CVE entry (Please visit 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.