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) cer...
MediumCVSS 6.8
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.0 | No fix listed |
| PHP | = 4.0-beta_4_patch1 | No fix listed |
| PHP | = 4.0-beta1 | No fix listed |
| PHP | = 4.0-beta2 | No fix listed |
| PHP | = 4.0-beta3 | No fix listed |
| PHP | = 4.0-beta4 | No fix listed |
| PHP | = 4.0-rc1 | No fix listed |
| PHP | = 4.0-rc2 | No fix listed |
| PHP | = 4.0.0 | No fix listed |
| PHP | = 4.0.1 | No fix listed |
| PHP | = 4.0.1-patch1 | No fix listed |
| PHP | = 4.0.1-patch2 | No fix listed |
| PHP | = 4.0.2 | No fix listed |
| PHP | = 4.0.3 | No fix listed |
| PHP | = 4.0.3-patch1 | No fix listed |
| PHP | = 4.0.4 | No fix listed |
| PHP | = 4.0.4-patch1 | No fix listed |
| PHP | = 4.0.5 | No fix listed |
| PHP | = 4.0.6 | No fix listed |
| PHP | = 4.0.7 | No fix listed |
| PHP | = 4.0.7-rc1 | No fix listed |
| PHP | = 4.0.7-rc2 | No fix listed |
| PHP | = 4.0.7-rc3 | No fix listed |
| PHP | = 4.1.0 | No fix listed |
| PHP | = 4.1.1 | No fix listed |
Show 47 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.1.2 | No fix listed |
| PHP | = 4.2 | No fix listed |
| PHP | = 4.2.0 | No fix listed |
| PHP | = 4.2.1 | No fix listed |
| PHP | = 4.2.2 | No fix listed |
| PHP | = 4.2.3 | No fix listed |
| PHP | = 4.3.0 | No fix listed |
| PHP | = 4.3.1 | No fix listed |
| PHP | = 4.3.2 | No fix listed |
| PHP | = 4.3.3 | No fix listed |
| PHP | = 4.3.4 | No fix listed |
| PHP | = 4.3.5 | No fix listed |
| PHP | = 4.3.6 | No fix listed |
| PHP | = 4.3.7 | No fix listed |
| PHP | = 4.3.8 | No fix listed |
| PHP | = 4.3.9 | No fix listed |
| PHP | = 4.3.10 | No fix listed |
| PHP | = 4.3.11 | No fix listed |
| PHP | = 4.4.0 | No fix listed |
| PHP | = 4.4.1 | No fix listed |
| PHP | = 4.4.2 | No fix listed |
| PHP | = 4.4.3 | No fix listed |
| PHP | = 4.4.4 | No fix listed |
| PHP | = 5.0-rc1 | No fix listed |
| PHP | = 5.0-rc2 | No fix listed |
| PHP | = 5.0-rc3 | No fix listed |
| PHP | = 5.0.0 | No fix listed |
| PHP | = 5.0.0-beta1 | No fix listed |
| PHP | = 5.0.0-beta2 | No fix listed |
| PHP | = 5.0.0-beta3 | No fix listed |
| PHP | = 5.0.0-beta4 | No fix listed |
| PHP | = 5.0.0-rc1 | No fix listed |
| PHP | = 5.0.0-rc2 | No fix listed |
| PHP | = 5.0.0-rc3 | No fix listed |
| PHP | = 5.0.1 | No fix listed |
| PHP | = 5.0.2 | No fix listed |
| PHP | = 5.0.3 | No fix listed |
| PHP | = 5.0.4 | No fix listed |
| PHP | = 5.0.5 | No fix listed |
| PHP | = 5.1.0 | No fix listed |
| PHP | = 5.1.1 | No fix listed |
| PHP | = 5.1.2 | No fix listed |
| PHP | = 5.1.3 | No fix listed |
| PHP | = 5.1.4 | No fix listed |
| PHP | = 5.1.5 | No fix listed |
| PHP | = 5.1.6 | No fix listed |
| PHP | = 5.2.0 | No fix listed |
References
- SSRT071423 vendor-advisory
- HPSBTU02232 vendor-advisory
- 25423 third-party-advisory
- 25850 third-party-advisory
- 33955 vdb-entry
- 34767 vdb-entry
- www.php-security.org vendor-advisory
- www.php.net patch
- 23219 vdb-entry
- ADV-2007-1991 vdb-entry
- ADV-2007-2374 vdb-entry
- php-printf-format-string(33755) vdb-entry