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.
Problem types
CWE-20 Improper Input Validation
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
3.80 (custom) before 3.91
4.11 (custom) before 5.00
Credits
chr1x
References
www.rarlab.com/vuln_zip_spoofing_4.20.html
an7isec.blogspot.com/...ar-file-extension-spoofing-0day.html
raw.githubusercontent.com/...eformat/winrar_name_spoofing.rb
web.archive.org/...ps://www.intelcrawler.com/report_2603.pdf
web.archive.org/...625054244/http://intelcrawler.com/news-15
www.vulncheck.com/advisories/winrar-filename-spoofing-rce
nvd.nist.gov (CVE-2014-125119)