Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Gitlab-Exiftool-RCE — 针对 GitLab 13.10.3 之前版本的 Python 漏洞利用程序,通过 GitLab Workhorse 图片上传滥用 ExifTool 的 DjVu 解析,实现远程代码执行。 | Kitploit
工具/GitHubGitHub/csenox/gitlab-exiftool-rce
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试远程访问工具
GitHubcsenox/gitlab-exiftool-rce

Gitlab-Exiftool-RCE

针对 GitLab 13.10.3 之前版本的 Python 漏洞利用程序,通过 GitLab Workhorse 图片上传滥用 ExifTool 的 DjVu 解析,实现远程代码执行。

查看仓库
61155年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Gitlab-Exiftool-RCE

针对 Gitlab < 13.10.3 的 RCE 漏洞利用

  • GitLab Workhorse 会将任意文件传递给 ExifTool。当前的漏洞存在于 ExifTool 的 DjVu 模块中。
  • 任何能够上传经过 GitLab Workhorse 处理的图片的人,都可以通过特制的文件实现 RCE

用法

python3 exploit.py -u root -p root -c "command here" -t http://gitlab.example.com

环境

  • 已在 Gitlab 13.10.2 社区版上测试
  • 构建你自己的测试环境:
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.10.2-ce.0

致谢

  • https://hackerone.com/reports/1154542 : vakzz
  • https://devcraft.io/2021/05/04/exiftool-arbitrary-code-execution-cve-2021-22204.html

Exploit-DB

  • https://www.exploit-db.com/exploits/49951
下载工具