| Summary: | libzip causes crashes in php-zip | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | mageia, shlomif, sysadmin-bugs |
| Version: | 4 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| URL: | http://lwn.net/Vulnerabilities/593611/ | ||
| Whiteboard: | MGA4-64-OK mga4-32-ok advisory has_procedure | ||
| Source RPM: | libzip-0.11.1-2.mga4.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 13050 | ||
|
Description
David Walser
2014-03-28 16:49:21 CET
David Walser
2014-04-04 18:53:32 CEST
Blocks:
(none) =>
13050 There's a simple PoC on Bug 13050: <?php $za = new ZipArchive(); $flags = ZIPARCHIVE::CREATE; $result = $za->open("/tmp/test.zip", $flags); var_dump($result); $za->addEmptyDir('activities/'); ?> Save that in a file called ziptest.php, install php-zip and php-cli, and run it as "php ziptest.php" It should segfault before the libzip update, and not segfault after it. I've confirmed the PoC is fixed on Mageia 4 i586. PoC is fixed on Mageia 4 x86-64 (in a VBox VM). It was broken before the upgrade. CC:
(none) =>
shlomif Thanks Shlomi! Since I've confirmed the fix on i586 with both Moodle and the script in Comment 1, this could be validated. PoC exploit segfaults on a Mageia 4 i586 VM before the update and is fixed on it after the update. Marking as MGA4-32-OK . Marking now. Whiteboard:
MGA4-64-OK has_procedure =>
MGA4-64-OK has_procedure MGA4-32-OK Advisory uploaded. Validating. Could sysadmin please push to 4 updates Thanks! Keywords:
(none) =>
validated_update http://advisories.mageia.org/MGASA-2014-0164.html Status:
NEW =>
RESOLVED
David Walser
2014-04-07 23:14:55 CEST
URL:
(none) =>
http://lwn.net/Vulnerabilities/593611/ |