Debian DSA-2215-1 : gitolite - directory traversal

high Nessus Plugin ID 53342

Synopsis

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

Description

Dylan Simon discovered that gitolite, a SSH-based gatekeeper for Git repositories, is prone to directory traversal attacks when restricting admin defined commands (ADC). This allows an attacker to execute arbitrary commands with privileges of the gitolite server via crafted command names.

Please note that this only affects installations that have ADC enabled (not the Debian default).

The oldstable distribution (lenny) is not affected by this problem, it does not include gitolite.

Solution

Upgrade the gitolite packages.

For the stable distribution (squeeze), this problem has been fixed in version 1.5.4-2+squeeze1.

See Also

https://packages.debian.org/source/squeeze/gitolite

https://www.debian.org/security/2011/dsa-2215

Plugin Details

Severity: High

ID: 53342

File Name: debian_DSA-2215.nasl

Version: 1.14

Type: local

Agent: unix

Published: 4/11/2011

Updated: 1/4/2021

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

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:gitolite, cpe:/o:debian:debian_linux:6.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/9/2011

Reference Information

BID: 46473

DSA: 2215