OSVDB ID: 32782

Title: PHP PECL Zip Extension zip:// URL Wrapper Overflow

Info

Disclosure

Mar 09, 2007

Discovery

Unknown

Dates

Exploit

Mar 09, 2007

Solution

Unknown

Description

A remote overflow exists in the PECL Zip extension. The application fails to perform a boundary check for the 'zip:// URL' when copying the data on stack resulting in a stack-based overflow. With a specially overlong 'zip:// URL', an attacker can cause arbitrary code execution resulting in a loss of integrity.

Classification

Location: Remote / Network Access
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Public
Disclosure: OSVDB Verified

Solution

Upgrade to PECL Zip extension version 1.8.4 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

The PHP Group

PECL Zip

1.8.3

PHP

5.2.0

References

Credit

  • Stefan Esser - sesserhardened-php.net - www.hardened-php.net


Direct URL: http://osvdb.org/32782