CVE-2007-1001
PHP 4.0.0-4.4.6 and 5.0.0-5.2.1 - Remote Code Execution via WBMP Image Integer Overflow
Title source: manualExploitation Summary
EIP tracks 1 public exploit for CVE-2007-1001. PoCs published by Ivan Fratric.
AI-analyzed exploit summary This exploit generates a malformed WBMP image file to trigger an integer overflow in PHP's GD extension, potentially leading to a denial of service or arbitrary code execution. The PoC writes a crafted header with an excessively large width value to provoke the vulnerability.
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.
Exploits (1)
This exploit generates a malformed WBMP image file to trigger an integer overflow in PHP's GD extension, potentially leading to a denial of service or arbitrary code execution. The PoC writes a crafted header with an excessively large width value to provoke the vulnerability.