Debian DSA-2863-1 : libtar - directory traversal

medium Nessus Plugin ID 72562

Synopsis

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

Description

A directory traversal attack was reported against libtar, a C library for manipulating tar archives. The application does not validate the filenames inside the tar archive, allowing to extract files in arbitrary path. An attacker can craft a tar file to override files beyond the tar_extract_glob and tar_extract_all prefix parameter.

Solution

Upgrade the libtar packages.

For the oldstable distribution (squeeze), this problem has been fixed in version 1.2.11-6+deb6u2.

For the stable distribution (wheezy), this problem has been fixed in version 1.2.16-1+deb7u2.

See Also

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

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

https://packages.debian.org/source/wheezy/libtar

https://www.debian.org/security/2014/dsa-2863

Plugin Details

Severity: Medium

ID: 72562

File Name: debian_DSA-2863.nasl

Version: 1.8

Type: local

Agent: unix

Published: 2/19/2014

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libtar, cpe:/o:debian:debian_linux:6.0, cpe:/o:debian:debian_linux:7.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: 2/18/2014

Reference Information

CVE: CVE-2013-4420

BID: 62955

DSA: 2863