Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2018-17297 EUVD-2018-0685GHSA-rhq2-2574-78mc

Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal

Published Sep 21, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

The unzip function in ZipUtil.java in Hutool before 4.1.12 allows remote attackers to overwrite arbitrary files via directory traversal sequences in a filename within a ZIP archive.

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
Maven cn.hutool:hutool-all < 4.1.12 4.1.12 GHSA-rhq2-2574-78mc
Maven cn.hutool:hutool-core < 4.1.12 4.1.12 GHSA-rhq2-2574-78mc
Maven cn.hutool:hutool-parent < 4.1.12 4.1.12 GHSA-rhq2-2574-78mc

References