
Vulhub gitlab/CVE-2021-22205: GitLab CE 13.10.1 ExifTool unauthenticated RCE, run with Isoloom
GitLab is a web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking and continuous integration and deployment pipeline features.
An issue has been discovered in GitLab CE/EE affecting the versions starting from 11.9. GitLab was not properly validating image files that is passed to a file parser which resulted in an unauthenticated remote command execution.
References:
Execute following command to start a GitLab Community Server 13.10.1:
docker compose up -d
After the server is started, browse the http://your-ip:8080 to see the website.
The api endpoint /uploads/user is an unauthenticated interface. Attack the server through the poc.py:
python poc.py http://your-ip:8080 "touch /tmp/success"

touch /tmp/success has been executed successfully:


Finden Sie Schwachstellen, Fehlkonfigurationen, Secrets, SBOM in Containern, Kubernetes, Code-Repositories, Clouds und mehr

Ein Schwachstellenscanner für Container-Images und Dateisysteme

CLI-Tool und Bibliothek zur Generierung einer Software-Stückliste (SBOM) aus Container-Images und Dateisystemen