7.5
CVSSv2

CVE-2008-5517

Published: 13/01/2009 Updated: 13/02/2023
CVSS v2 Base Score: 7.5 | Impact Score: 6.4 | Exploitability Score: 10
VMScore: 755
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Summary

The web interface in git (gitweb) 1.5.x prior to 1.5.6 allows remote malicious users to execute arbitrary commands via shell metacharacters related to (1) git_snapshot and (2) git_object.

Vulnerable Product Search on Vulmon Subscribe to Product

git git 1.5.4

git git 1.5.0.7

git git 1.5.0

git git 1.5.0.3

git git 1.5.2.5

git git 1.5.1.4

git git 1.5.3.1

git git 1.5.4.1

git git 1.5.4.7

git git 1.5.3.3

git git 1.5.1.3

git git 1.5.3

git git 1.5.2.3

git git 1.5.3.8

git git 1.5.2.1

git git 1.5.4.3

git git 1.5.1.5

git git 1.5.4.6

git git 1.5.3.5

git git 1.5.2.2

git git 1.5.0.2

git git 1.5.0.1

git git 1.5.0.4

git git 1.5.2.4

git git 1.5.1.1

git git 1.5.2

git git 1.5.0.6

git git 1.5.4.4

git git 1.5.4.2

git git 1.5.1.2

git git 1.5.1

git git 1.5.3.2

git git 1.5.0.5

git git 1.5.3.4

git git 1.5.1.6

git git 1.5.4.5

git git 1.5.3.6

git git 1.5.3.7

Vendor Advisories

It was discovered that Git did not properly handle long file paths If a user were tricked into performing commands on a specially crafted Git repository, an attacker could possibly execute arbitrary code with the privileges of the user invoking the program (CVE-2008-3546) ...
It was discovered that gitweb, the web interface for the Git version control system, contained several vulnerabilities: Remote attackers could use crafted requests to execute shell commands on the web server, using the snapshot generation and pickaxe search functionality (CVE-2008-5916) Local users with write access to the configuration of a Git r ...

Exploits

# Exploit Title: gitWeb remote command execution # Date: 20090619 # Author: S2 Crew [Hungary] # Software Link: - # Version: GIT 152 # Tested on: debian linux, GIT 152 # CVE: CVE-2008-5516 - CVE-2008-5517 # Code: # The cgi script doesn't show the command output *blind command execution ;)* # Vulnerable functions in gitwebcgi: git_snapshot() ...
gitWeb version 1x suffers from a remote command execution vulnerability ...