module

Generic Zip Slip Traversal Vulnerability

Disclosed
2018-06-05
Created
2019-09-12

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 sinn3r@metasploit.com
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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.