Path traversal in QuaZIP - CVE-2018-1002209

 

Path traversal in QuaZIP - CVE-2018-1002209

Published: July 30, 2018 / Updated: July 31, 2018


Vulnerability identifier: #VU14133
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-1002209
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to conduct a directory traversal attack on the target system.

The vulnerability exists in the extractDir() function of QuaZIP due to improper validation of files inside an archive file. A remote unauthenticated attacker can trick the victim into extracting an archive file that contains a file using directory traversal characters, and cause the service to crash or execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note: This vulnerability is also known as 'Zip-Slip'.


Affected software

QuaZIP
Fedora
quazip

How to mitigate CVE-2018-1002209

Update to version 0.7.6.

QuaZIP - update to 0.7.6
quazip - addressed in versions 0.7.6-1.fc27, 0.7.6-1.fc28

External References

Related Security Bulletins