code-scan starred Gitlab-CVE-2021-22205
2021-10-29 05:33:52 Author: github.com(查看原文) 阅读量:70 收藏

RCE on Gitlab version < 13.10.3

RCE exploit for gitlab version < 13.10.3

For educational/research purpose only. Use at your own risk

Root cause:

# convert C escape sequences (allowed in quoted text)
$tok = eval qq{"$tok"};

Credits

Usage

Need install djvumake & djvulibre to work

Install djvulibre ( if you haven't installed it yet)

sudo apt-get install -y djvulibre-bin

Run exploit

python3 exploit.py -u <username> -p <password> -t <gitlab_url> -c <command>

Tested on version 13.10.1-ce.0


文章来源: https://github.com/mr-r3bot/Gitlab-CVE-2021-22205
如有侵权请联系:admin#unsafe.sh