vendor:
GitList
by:
Kacper Szurek
7.5
CVSS
HIGH
Remote Code Execution
Injection
CWE
Product Name: GitList
Affected Version From: 0.6
Affected Version To: 0.6
Patch Exists: No
Related CWE:
CPE: a:klaussilveira:gitlist:0.6
Platforms Tested:
2018
GitList 0.6 Unauthenticated RCE
Bypass/Exploit `escapeshellarg` using argument injection: `git grep --open-files-in-pager=whoami`. More info about this technique: https://security.szurek.pl/exploit-bypass-php-escapeshellarg-escapeshellcmd.html
Mitigation:
Disable the vulnerable functionality, sanitize user input, and use prepared statements or parameterized queries to prevent code injection.