CVE-2006-4020 scanf.c in PHP 5.1.4 and earlier, and 4.4.3 and earlier, allows context-dependent attackers to execute arbitrary code via a sscanf PHP function call that performs argument swapping, which increments a...
MediumCVSS 4.6
EPSS 2.0%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
scanf.c in PHP 5.1.4 and earlier, and 4.4.3 and earlier, allows context-dependent attackers to execute arbitrary code via a sscanf PHP function call that performs argument swapping, which increments an index past the end of an array and triggers a buffer over-read.
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 42 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 | = 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.4 | No fix listed |
References
- bugs.php.net exploit patch
- RHSA-2006:0688 vendor-advisory
- RHSA-2006:0736 vendor-advisory
- 21403 third-party-advisory
- 21467 third-party-advisory
- 21546 third-party-advisory
- 21608 third-party-advisory
- 21683 third-party-advisory
- 21768 third-party-advisory
- 21847 third-party-advisory
- 22004 third-party-advisory
- 22039 third-party-advisory
- 22069 third-party-advisory
- 22440 third-party-advisory
- 22487 third-party-advisory
- 22538 third-party-advisory
- 23247 third-party-advisory
- GLSA-200608-28 vendor-advisory
- 1341 third-party-advisory
- 1016984 vdb-entry
- support.avaya.com
- support.avaya.com
- support.avaya.com
- MDKSA-2006:144 vendor-advisory
- SUSE-SR:2006:019 vendor-advisory
- SUSE-SR:2006:020 vendor-advisory
- SUSE-SR:2006:022 vendor-advisory
- SUSE-SA:2006:052 vendor-advisory
- www.php.net
- www.php.net
- www.plain-text.info exploit url-repurposed
- RHSA-2006:0669 vendor-advisory
- RHSA-2006:0682 vendor-advisory
- 20060804 php local buffer underflow could lead to arbitary code execution exploit mailing-list patch vendor-advisory
- 19415 vdb-entry
- USN-342-1 vendor-advisory
- ADV-2006-3193 vdb-entry
- oval:org.mitre.oval:def:11062 signature vdb-entry