Ubuntu 4.10 / 5.04 : unzip vulnerability (USN-159-1)

Ubuntu Security Notice (C) 2005-2013 Canonical, Inc. / NASL script (C) 2006-2013 Tenable Network Security, Inc.

Synopsis :

The remote Ubuntu host is missing a security-related patch.

Description :

If a ZIP archive contains binaries with the setuid and/or setgid bit
set, unzip preserved those bits when extracting the archive. This
could be exploited by tricking the administrator into unzipping an
archive with a setuid-root binary into a directory the attacker can
access. This allowed the attacker to execute arbitrary commands with
root privileges.

The updated version does not preserve setuid, setgid, and sticky bits
any more by default. The old behaviour can be explicitly requested now
by supplying the option '-K'.

Solution :

Update the affected unzip package.

Risk factor :

Medium / CVSS Base Score : 6.2

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 20563 ()

Bugtraq ID:

CVE ID: CVE-2005-0602