
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:


Trouvez des vulnérabilités, des erreurs de configuration, des secrets, des SBOM dans les conteneurs, Kubernetes, les dépôts de code, les clouds et plus encore.

Un scanner de vulnérabilités pour les images de conteneurs et les systèmes de fichiers

Outil CLI et bibliothèque pour générer une nomenclature logicielle à partir d'images de conteneurs et de systèmes de fichiers.