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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RARLab | WinRAR | 3.80 – < 3.91, 4.11 – < 5.00 | 3.91 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
WinRAR Filename Spoofing
exploit/windows/fileformat/winrar_name_spoofing
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2025-1649 WinRAR: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jul 27, 2025
References
- https://www.rarlab.com/vuln_zip_spoofing_4.20.html vendor-advisory
- https://an7isec.blogspot.com/2014/03/winrar-file-extension-spoofing-0day.html technical-description exploit
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/winrar_name_spoofing.rb exploit
- https://web.archive.org/web/20141111142204/https://www.intelcrawler.com/report_2603.pdf technical-description
- https://web.archive.org/web/20140625054244/http://intelcrawler.com/news-15 technical-description media-coverage
- https://www.vulncheck.com/advisories/winrar-filename-spoofing-rce third-party-advisory