
GitLab 13.10.3 이전 버전에서 GitLab Workhorse 이미지 업로드를 통해 ExifTool DjVu 파싱을 악용하여 원격 코드 실행을 달성하는 Python 익스플로잇입니다.
Gitlab < 13.10.3용 RCE 익스플로잇
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