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

high Nessus Plugin ID 35425

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://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

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#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

CWE: 264, 78, 94

DSA: 1708