GLSA-200410-07 : ed: Insecure temporary file handling

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-200410-07
(ed: Insecure temporary file handling)

ed insecurely creates temporary files in world-writeable directories with
predictable names. Given that ed is used in various system shell scripts,
they are by extension affected by the same vulnerability.

Impact :

A local attacker could create symbolic links in the temporary files
directory, pointing to a valid file somewhere on the filesystem. When ed is
called, this would result in file access 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-200410-07.xml

Solution :

All ed users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=sys-apps/ed-0.2-r4'
# emerge '>=sys-apps/ed-0.2-r4'

Risk factor :

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

Family: Gentoo Local Security Checks

Nessus Plugin ID: 15445 (gentoo_GLSA-200410-07.nasl)

Bugtraq ID:

CVE ID: CVE-2000-1137