Skip to content
OpenAdvisories
Medium · 5.5 Public exploit CVE-2019-10743 EUVD-2021-1098GHSA-h74j-692g-48mq

Path Traversal in MHolt Archiver

Published Oct 28, 2019 · Updated Aug 4, 2024 · Assigned by snyk

Description

All versions of archiver allow attacker to perform a Zip Slip attack via the "unarchive" functions. It is exploited using a specially crafted zip archive, that holds path traversal filenames. When exploited, a filename in a malicious archive is concatenated to the target extraction directory, which results in the final path ending up outside of the target folder. For instance, a zip may hold a file with a "../../file.exe" location and thus break out of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

Affected products

VendorProductAffectedFixed
— archiver All versions —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mholt/archiver >= 3.0.0, < 3.3.2 3.3.2 GHSA-h74j-692g-48mq

References