Debian DSA-1708-1 : git-core - shell command injection

high Nessus Plugin ID 35425
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 7.3

Synopsis

The remote Debian host is missing a security-related update.

Description

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 repository served by gitweb could cause gitweb to execute arbitrary shell commands with the permission of the web server (CVE-2008-5516, CVE-2008-5517 ).

Solution

Upgrade the Git packages.

For the stable distribution (etch), these problems have been fixed in version 1.4.4.4-4+etch1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512330

https://security-tracker.debian.org/tracker/CVE-2008-5916

https://security-tracker.debian.org/tracker/CVE-2008-5516

https://security-tracker.debian.org/tracker/CVE-2008-5517

https://security-tracker.debian.org/tracker/CVE-2008-5516

https://www.debian.org/security/2009/dsa-1708

Plugin Details

Severity: High

ID: 35425

File Name: debian_DSA-1708.nasl

Version: 1.16

Type: local

Agent: unix

Published: 1/20/2009

Updated: 1/4/2021

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: High

VPR Score: 7.3

CVSS v2.0

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:git-core, cpe:/o:debian:debian_linux:4.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 1/19/2009

Reference Information

CVE: CVE-2008-5516, CVE-2008-5517, CVE-2008-5916

DSA: 1708

CWE: 78, 94, 264