CVE-2014-4511
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/.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Gitlist - Remote Command Execution (Metasploit)
Gitlist 0.4.0 - Remote Code Execution
Metasploit modules
References
- http://hatriot.github.io/blog/2014/06/29/gitlist-rce/
- http://packetstormsecurity.com/files/127281/Gitlist-0.4.0-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/127364/Gitlist-Unauthenticated-Remote-Command-Execution.html
- http://www.exploit-db.com/exploits/33929
- http://www.exploit-db.com/exploits/33990
- 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
- http://packetstormsecurity.com/files/127364/Gitlist-Unauthenticated-Remote-Command-Execution.html
- http://www.exploit-db.com/exploits/33929
- http://www.exploit-db.com/exploits/33990
- https://groups.google.com/forum/#%21topic/gitlist/Hw_KdZfA4js
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.