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

high Nessus Plugin ID 35425
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

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