PT-2016-3400 · Php+2 · Php+2

Dario Weißer

+1

·

Published

2016-06-24

·

Updated

2018-03-26

·

CVE-2016-5773

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.5.37 PHP versions 5.6.x prior to 5.6.23 PHP versions 7.x prior to 7.0.8
Description The issue is related to the improper interaction between the php zip.c component in the PHP zip extension and the unserialize implementation and garbage collection. This allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and application crash) via crafted serialized data containing a ZipArchive object. The vulnerability is related to the use of memory after it has been freed, which can be exploited by an attacker to execute arbitrary PHP code or cause a denial of service.
Recommendations For PHP versions prior to 5.5.37, update to version 5.5.37 or later. For PHP versions 5.6.x prior to 5.6.23, update to version 5.6.23 or later. For PHP versions 7.x prior to 7.0.8, update to version 7.0.8 or later. As a temporary workaround, consider disabling the ZipArchive object in serialized data to minimize the risk of exploitation.

Exploit

Fix

RCE

DoS

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2022-02538
CVE-2016-5773
DLA-628-1
DSA-3618-1
MGASA-2016-0238
OPENSUSE-SU-2016_1761-1
RHSA-2016:2750
SUSE-SU-2016:2975-1
SUSE-SU-2016_2975-1
SUSE-SU-2018:0806-1
USN-3045-1

Affected Products

Php
Suse
Ubuntu