Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted call to (1) getFromIndex or (2) getFromName in the ZipArchive class.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://bugs.php.net/bug.php?id=71923 | issue tracking exploit vendor advisory |
https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c?w=1 | third party advisory patch |
http://www.openwall.com/lists/oss-security/2016/04/28/1 | mailing list exploit third party advisory |
https://security-tracker.debian.org/tracker/CVE-2016-3078 | third party advisory |
https://www.exploit-db.com/exploits/39742/ | exploit vdb entry third party advisory |
https://php.net/ChangeLog-7.php | release notes vendor advisory |
http://www.securitytracker.com/id/1035701 | vdb entry third party advisory broken link |