Exploit database

Vulnerability

CVE-2014-125119

WinRAR < 5.00 Filename Spoofing RCE

Vulnerability details

Score
8.4
Severity
high

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

A filename spoofing vulnerability exists in WinRAR when opening specially crafted ZIP archives. The issue arises due to inconsistencies between the Central Directory and Local File Header entries in ZIP files. When viewed in WinRAR, the file name from the Central Directory is displayed to the user, while the file from the Local File Header is extracted and executed. An attacker can leverage this flaw to spoof filenames and trick users into executing malicious payloads under the guise of harmless files, potentially leading to remote code execution.

CVE Program

Exploit source choices

1 source
WinRAR Filename Spoofing
MSF-windows--fileformat--winrar_name_spoofingMetasploitWindows / remotePreferred

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

2009-09-28winrar_name_spoofing.rb