Description
RARLAB WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. The issue occurs because a ZIP archive may include a benign file (such as an ordinary .JPG file) and also a folder that has the same name as the benign file, and the contents of the folder (which may include executable content) are processed during an attempt to access only the benign file. This was exploited in the wild in April through October 2023.
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 CVE-2023-38831 Exploit
exploit/windows/fileformat/winrar_cve_2023_38831
GitHub 60 repositories · most starred shown
-
b1tg/CVE-2023-38831-winrar-exploit ★ 782 · Aug 25, 2023
CVE-2023-38831 winrar exploit generator
-
Garck3h/cve-2023-38831 ★ 125 · Aug 27, 2023
一款用于生成winrar程序RCE(即cve-2023-38831)的POC的工具。
-
ignis-sec/CVE-2023-38831-RaRCE ★ 113 · Aug 27, 2023
An easy to install and easy to run tool for generating exploit payloads for CVE-2023-38831, WinRAR RCE before versions 6.23
-
BoredHackerBlog/winrar_CVE-2023-38831_lazy_poc ★ 91 · Aug 24, 2023
lazy way to create CVE-2023-38831 winrar file for testing
-
HDCE-inc/CVE-2023-38831 ★ 89 · Aug 28, 2023
CVE-2023-38831 PoC (Proof Of Concept)
-
knight0x07/WinRAR-Code-Execution-Vulnerability-CVE-2023-38831 ★ 40 · Aug 28, 2023
Understanding WinRAR Code Execution Vulnerability (CVE-2023-38831)
-
Maalfer/CVE-2023-38831_ReverseShell_Winrar-RCE ★ 22 · Aug 28, 2023
Pasos necesarios para obtener una reverse shell explotando la vulnerabilidad de winrar CVE-2023-38831 en versiones anteriores a 6.23.
-
xaitax/WinRAR-CVE-2023-38831 ★ 18 · Sep 3, 2023
This module exploits a vulnerability in WinRAR (CVE-2023-38831). When a user opens a crafted RAR file and its embedded document, a script is executed, leading to code execution.
-
MorDavid/CVE-2023-38831-Winrar-Exploit-Generator-POC ★ 14 · Aug 30, 2023
This is a POC for the CVE-2023-3883 exploit targeting WinRAR up to 6.22. Modified some existing internet-sourced POCs by introducing greater dynamism and incorporated additional try-except blocks wit…
-
ahmed-fa7im/CVE-2023-38831-winrar-expoit-simple-Poc ★ 11 · Aug 28, 2023
CVE-2023-38831 winrar exploit generator and get reverse shell
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2023-2093 win.rar WinRAR: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Mar 12, 2025
References
- https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day/
- https://www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-hack-trading-accounts/
- https://news.ycombinator.com/item?id=37236100
- http://packetstormsecurity.com/files/174573/WinRAR-Remote-Code-Execution.html
- https://blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vulnerability/