CVE-2007-1001 Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allow context-dependent attackers to....
MediumCVSS 6.8
EPSS 8.4%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allow context-dependent attackers to execute arbitrary code via Wireless Bitmap (WBMP) images with large width or height values.
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 53 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 | = 4.4.5 | No fix listed |
| PHP | = 4.4.6 | 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 |
| PHP | = 5.2.1 | No fix listed |
| debian/libgd2(Debian:12) | < 2.0.33-1 | 2.0.33-1 |
| debian/libgd2(Debian:13) | < 2.0.33-1 | 2.0.33-1 |
| debian/libgd2(Debian:14) | < 2.0.33-1 | 2.0.33-1 |
References
- Debian Security Tracker CVE-2007-1001 vendor-advisory
- cvs.php.net
- cvs.php.net
- docs.info.apple.com
- ifsec.blogspot.com
- APPLE-SA-2007-07-31 vendor-advisory
- RHSA-2007:0155 vendor-advisory
- 24814 third-party-advisory vendor-advisory
- 24909 third-party-advisory vendor-advisory
- 24924 third-party-advisory vendor-advisory
- 24945 third-party-advisory vendor-advisory
- 24965 third-party-advisory vendor-advisory
- 25056 third-party-advisory vendor-advisory
- 25151 third-party-advisory vendor-advisory
- 25445 third-party-advisory vendor-advisory
- 26235 third-party-advisory vendor-advisory
- GLSA-200705-19 vendor-advisory
- us2.php.net
- us2.php.net
- MDKSA-2007:087 vendor-advisory
- MDKSA-2007:088 vendor-advisory
- MDKSA-2007:089 vendor-advisory
- MDKSA-2007:090 vendor-advisory
- SUSE-SA:2007:032 vendor-advisory
- RHSA-2007:0153 vendor-advisory
- RHSA-2007:0162 vendor-advisory
- 20070407 PHP <= 5.2.1 wbmp file handling integer overflow mailing-list
- 20070418 rPSA-2007-0073-1 php php-mysql php-pgsql mailing-list
- 23357 vdb-entry
- 25159 vdb-entry
- SSA:2007-127 vendor-advisory
- ADV-2007-1269 vdb-entry vendor-advisory
- ADV-2007-2732 vdb-entry vendor-advisory
- php-gd-overflow(33453) vdb-entry
- issues.rpath.com
- oval:org.mitre.oval:def:10179 signature vdb-entry