GLSA-200412-05 : mirrorselect: Insecure temporary file creation

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


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-200412-05
(mirrorselect: Insecure temporary file creation)

Ervin Nemeth discovered that mirrorselect creates temporary files in
world-writable directories with predictable names.

Impact :

A local attacker could create symbolic links in the temporary files
directory, pointing to a valid file somewhere on the filesystem. When
mirrorselect is executed, this would result in the file being
overwritten with the rights of the user running the utility, which
could be the root user.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200412-05.xml

Solution :

All mirrorselect users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-portage/mirrorselect-0.89'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 15922 (gentoo_GLSA-200412-05.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1167