CVE-2011-0421
PHP < 5.3.6 - Denial of Service via Empty ZIP Archive in Zip Extension
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2011-0421. PoCs published by Maksymilian Arciemowicz.
AI-analyzed exploit summary This exploit demonstrates a NULL pointer dereference vulnerability in libzip 0.9.3 and PHP 5.3.5 when the ZIP_FL_UNCHANGED flag is set, leading to a denial of service (DoS). The PoC triggers a crash by calling locateName or statName on an empty ZIP file with the flag.
Description
The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
Exploits (1)
This exploit demonstrates a NULL pointer dereference vulnerability in libzip 0.9.3 and PHP 5.3.5 when the ZIP_FL_UNCHANGED flag is set, leading to a denial of service (DoS). The PoC triggers a crash by calling locateName or statName on an empty ZIP file with the flag.