
GitLab Workhorse इमेज अपलोड के माध्यम से ExifTool DjVu पार्सिंग का दुरुपयोग करके GitLab के 13.10.3 से पहले के संस्करणों पर रिमोट कोड एक्ज़ीक्यूशन प्राप्त करने वाला 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