Rapid7

module

Generic Zip Slip Traversal Vulnerability

Disclosed
Jun 5, 2018
Created
Sep 12, 2019

Description

This is a generic arbitrary file overwrite technique, which typically results in remote
command execution. This targets a simple yet widespread vulnerability that has been
seen affecting a variety of popular products including HP, Amazon, Apache, Cisco, etc.
The idea is that often archive extraction libraries have no mitigations against
directory traversal attacks. If an application uses it, there is a risk when opening an
archive that is maliciously modified, and result in the embedded payload to be written
to an arbitrary location (such as a web root), and result in remote code execution.

Authors

Snyk
sinn3r [email protected]
ggkitsas

Platform

Linux,Unix,Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/multi/fileformat/zip_slip
msf exploit(zip_slip) > show targets
...targets...
msf exploit(zip_slip) > set TARGET < target-id >
msf exploit(zip_slip) > show options
...show and set options...
msf exploit(zip_slip) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.