CVE Tools

CVE-2018-1002202

Published: Jul 25, 2018Updated: Nov 21, 2024 Sources: CVE List NVD GHSA BDUCWE-22

Description

zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

In plain language

AI Worth attention

CVE-2018-1002202 is a “Zip-Slip” bug in Zip4j that can let a malicious zip write files anywhere on your computer when someone opens or processes the zip; if you use Zip4j and handle untrusted zips, you should update to 1.3.3.

Executive summary

In Zip4j (zip4j < 1.3.3), a directory traversal weakness (Zip-Slip, CWE-22) mishandles zip entry paths so crafted “../” paths can cause arbitrary file writes during extraction; it requires processing a malicious zip (user interaction) and has a network-reachable vector if your system accepts zips from users or the web.

If affected, business impact
Malware file placementApplication or service sabotageData loss or corruptionPossible ransomware staging

CVSS Vector Breakdown

AV:NAC:LPR:NUI:RS:UC:NI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Collection
Discovery
View detailed technique mapping

References

and 5 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2018-1002202 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows