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

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

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

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

工具目录

分类

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

CVE-2023-38831

CVE-2023-38831 WinRAR 零日漏洞的概念验证 (POC)

查看仓库
3112年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2023-38831 (WinRAR)

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

使用方法

用法:

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

位置参数:

root@kitploit:~
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)

选项:

root@kitploit:~
-h, --help    show this help message and exit

概念验证(PoC)

  1. 从 https://www.win-rar.com/download.html 下载并安装存在漏洞的版本(即 WinRAR < 6.23)(此文件夹中包含 WinRAR 6.02 的 .exe 文件)
  2. 准备 benign/bait file (e.g. sample.png) 和 malicious script (e.g. script.bat)
  3. 运行 python3 poc.py script.bat sample.PNG PoC sample.png 以生成 .zip 格式的漏洞利用包
  4. 使用已安装的存在漏洞的 WinRAR 版本打开 Zip 文件
  5. 如下方演示所示,双击 Benign file (i.e. sample.png)

演示

demo

下载工具