module

WinRAR Filename Spoofing

Disclosed
Sep 28, 2009
Created
May 30, 2018

Description

This module abuses a filename spoofing vulnerability in WinRAR. The vulnerability exists
when opening ZIP files. The file names showed in WinRAR when opening a ZIP file come from
the central directory, but the file names used to extract and open contents come from the
Local File Header. This inconsistency allows to spoof file names when opening ZIP files
with WinRAR, which can be abused to execute arbitrary code, as exploited in the wild in
March 2014

Authors

chr1x
juan vazquez [email protected]

Platform

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/windows/fileformat/winrar_name_spoofing
msf exploit(winrar_name_spoofing) > show targets
...targets...
msf exploit(winrar_name_spoofing) > set TARGET < target-id >
msf exploit(winrar_name_spoofing) > show options
...show and set options...
msf exploit(winrar_name_spoofing) > 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.