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