GLSA-200801-01 : unp: Arbitrary command execution

critical Nessus Plugin ID 29905

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200801-01 (unp: Arbitrary command execution)

Erich Schubert from Debian discovered that unp does not escape file names properly before passing them to calls of the shell.
Impact :

A remote attacker could entice a user or automated system to unpack a compressed archive with a specially crafted file name, leading to the execution of shell commands from within the filename. That code will be executed with the privileges of the user running unp.
Workaround :

There is no known workaround at this time.

Solution

All unp users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/unp-1.0.14'

See Also

https://security.gentoo.org/glsa/200801-01

Plugin Details

Severity: Critical

ID: 29905

File Name: gentoo_GLSA-200801-01.nasl

Version: 1.15

Type: local

Published: 1/10/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:unp, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 1/9/2008

Reference Information

CVE: CVE-2007-6610

GLSA: 200801-01