Description
In WinRAR versions prior to and including 5.61, There is path traversal vulnerability when crafting the filename field of the ACE format (in UNACEV2.dll). When the filename field is manipulated with specific patterns, the destination (extraction) folder is ignored, thus treating the filename as an absolute path.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Check Point Software Technologies | WinRAR | All versions prior and including 5.61 | — |
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
-
RARLAB WinRAR ACE Format Input Validation Remote Code Execution
exploit/windows/fileformat/winrar_ace
Exploit-DB 2
- RARLAB WinRAR 5.61 - ACE Format Input Validation Remote Code Execution (Metasploit) EDB-46756 · local · Apr 25, 2019 · verified
- WinRAR 5.61 - Path Traversal EDB-46552 · local · Feb 22, 2019 · verified
GitHub 19 repositories · most starred shown
-
WyAtu/CVE-2018-20250 ★ 494 · Feb 22, 2019
exp for https://research.checkpoint.com/extracting-code-execution-from-winrar
-
QAX-A-Team/CVE-2018-20250 ★ 26 · Feb 22, 2019
010 Editor template for ACE archive format & CVE-2018-2025[0-3]
-
easis/CVE-2018-20250-WinRAR-ACE ★ 21 · Feb 23, 2019
Proof of concept code in C# to exploit the WinRAR ACE file extraction path (CVE-2018-20250).
-
arkangel-dev/CVE-2018-20250-WINRAR-ACE-GUI ★ 7 · Mar 8, 2019
CVE-2018-20250-WINRAR-ACE Exploit with a UI
-
Ektoplasma/ezwinrar ★ 2 · Mar 5, 2019
Python tool exploiting CVE-2018-20250 found by CheckPoint folks
-
STP5940/CVE-2018-20250 ★ 2 · Feb 28, 2019
-
eastmountyxz/CVE-2018-20250-WinRAR ★ 1 · Feb 17, 2020
这资源是作者复现微软签字证书漏洞CVE-2020-0601,结合相关资源及文章实现。推荐大家结合作者博客,复现了该漏洞和理解恶意软件自启动劫持原理。作为网络安全初学者,自己确实很菜,但希望坚持下去,一起加油!
-
technicaldada/hack-winrar ★ 1 · Mar 4, 2019
WinRar is a very widely known software for windows. Previous version of WinRaR was a vulnerability which has been patched in Feb-2019. Most of the people didn't update winrar so they are vulnerable i…
-
nmweizi/CVE-2018-20250-poc-winrar ★ 0 · Feb 22, 2019
-
blunden/UNACEV2.DLL-CVE-2018-20250 ★ 0 · Feb 22, 2019
A version of the binary patched to address CVE-2018-20250
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://github.com/blau72/CVE-2018-20250-WinRAR-ACE
- https://research.checkpoint.com/extracting-code-execution-from-winrar/
- 46552 exploit
- 106948 vdb-entry
- https://www.win-rar.com/whatsnew.html
- http://packetstormsecurity.com/files/152618/RARLAB-WinRAR-ACE-Format-Input-Validation-Remote-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/windows/fileformat/winrar_ace
- 46756 exploit