Vulnerability in PHP
CVE-2011-1657
The (1) ZipArchive::addGlob and (2) ZipArchive::addPattern functions in ext/zip/php_zip.c in PHP 5.3.6 allow context-dependent attackers to cause a denial of service (application crash) via certain flags arguments, as demonstrated by (a) GLOB_ALTDIRFUNC and (b) GLOB_APPEND.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.051, 92.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.3.6
Weakness classification (CWE)
References
- [oss-security] 20110701 php ZipArchive::addGlob() crashes on invalid flags (mailing-list, Patch)
- bugs.php.net/bug.php (Exploit)
- support.apple.com/kb/HT5130
- MDVSA-2011:165 (vendor-advisory)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c (Patch)
- APPLE-SA-2012-02-01-1 (vendor-advisory)
- svn.php.net/viewvc/ (Patch)
- 20110819 PHP 5.3.6 ZipArchive invalid use glob(3) (Exploit, third-party-advisory)
- www.securityfocus.com/bid/49252 (vdb-entry)
- [oss-security] 20110701 Re: php ZipArchive::addGlob() crashes on invalid flags (mailing-list)