Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2023-38831-PoC — WinRAR 中 CVE-2023-38831 零日漏洞的概念验证 | Kitploit
工具/GitHubGitHub/z3r0sw0rd/cve-2023-38831-poc
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试
GitHubz3r0sw0rd/cve-2023-38831-poc

CVE-2023-38831-PoC

WinRAR 中 CVE-2023-38831 零日漏洞的概念验证

查看仓库
62年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2023-38831 PoC

本仓库仅用于CVE-2023-38831 WinRAR零日漏洞的概念验证

RARLabs WinRAR 6.23之前版本允许攻击者在用户尝试查看ZIP存档中的良性文件时执行任意代码。问题在于ZIP存档可能同时包含一个良性文件(如普通.JPG文件)和一个与该良性文件同名的文件夹,当用户仅访问良性文件时,该文件夹的内容(可能包含可执行文件)会被处理。该漏洞于2023年4月至8月期间在野外被利用

 

使用方法

root@kitploit:~
Usage: 
- poc.py [-h] scriptPath benignPath zipDirectory fname

CVE-2023-38831 Zero-Day Vulnerability in WinRAR - PoC

positional arguments:
  scriptPath    The Filepath of the Malicious script/batch which will be executed
  benignPath    The Filepath of the Benign file (recommended in '.jpg', '.png' and '.pdf')
  zipDirectory  The Name of the Directory which will be Created and Zipped
  fname         The Names of the Folder and File in the Zip (including the file extension)

options:
  -h, --help    show this help message and exit

 

概念验证 (PoC)

  1. 下载并安装存在漏洞的版本(即WinRAR < 6.23),下载地址:https://www.win-rar.com/download.html(此文件夹中有一个WinRAR 6.02的 .exe 文件)
  2. 准备良性/诱饵文件(例如 sample.png)和恶意脚本(例如 script.bat)
  3. 运行 python3 poc.py script.bat sample.PNG PoC sample.png 生成 .zip 格式的漏洞利用文件
  4. 使用已安装的存在漏洞的WinRAR版本打开该 Zip 文件
  5. 如演示中所示,双击良性文件(即 sample.png)

 

演示

演示

 

参考

https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day/

https://github.com/b1tg/CVE-2023-38831-winrar-exploit

下载工具