Description
Gitlist before 0.5.0 allows remote attackers to execute arbitrary commands via shell metacharacters in the file name in the URI of a request for a (1) blame, (2) file, or (3) stats page, as demonstrated by requests to blame/master/, master/, and stats/master/.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Gitlist Unauthenticated Remote Command Execution
exploit/linux/http/gitlist_exec
Exploit-DB 2
- Gitlist - Remote Command Execution (Metasploit) EDB-33990 · remote · Jul 7, 2014 · verified
- Gitlist 0.4.0 - Remote Code Execution EDB-33929 · remote · Jun 30, 2014 · verified
GitHub 1 repository
-
michaelsss1/gitlist-RCE ★ 0 · Dec 3, 2018
CVE-2014-4511
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://groups.google.com/forum/#%21topic/gitlist/Hw_KdZfA4js
- http://hatriot.github.io/blog/2014/06/29/gitlist-rce/
- http://packetstormsecurity.com/files/127281/Gitlist-0.4.0-Remote-Code-Execution.html
- 33990 exploit
- http://packetstormsecurity.com/files/127364/Gitlist-Unauthenticated-Remote-Command-Execution.html
- 33929 exploit