vendor:
Gitlist
by:
drone (@dronesec)
7,5
CVSS
HIGH
Remote Code Execution
78
CWE
Product Name: Gitlist
Affected Version From: <= 0.4.0
Affected Version To: 0.5.0
Patch Exists: YES
Related CWE: CVE-2014-4511
CPE: a:gitlist:gitlist
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Debian 7
2014
Gitlist <= 0.4.0 anonymous RCE
Gitlist is a web frontend for browsing Git repositories. A vulnerability exists in versions <= 0.4.0 which allows an anonymous user to execute arbitrary code on the server. This is due to the lack of input validation in the 'blame' controller. An attacker can craft a malicious URL which will write a PHP shell to the server's cache directory. This shell can then be used to execute arbitrary commands on the server.
Mitigation:
Upgrade to version 0.5.0 or later.