
استغلال بلغة Python يحقق تنفيذ التعليمات البرمجية عن بُعد على إصدارات GitLab الأقدم من 13.10.3 عبر إساءة استخدام تحليل DjVu في ExifTool من خلال عمليات رفع الصور في GitLab Workhorse.
استغلال RCE لـ 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