GLSA-201401-23 : sudo: Privilege escalation

This script is Copyright (C) 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-201401-23
(sudo: Privilege escalation)

Multiple vulnerabilities have been found in sudo:
sudo does not correctly validate the controlling terminal on a system
without /proc or when the tty_tickets option is enabled.
sudo does not properly handle the clock when it is set to the epoch.

Impact :

A local attacker with sudo privileges could connect to the stdin,
stdout, and stderr of the terminal of a user who has authenticated with
sudo, allowing the attacker to hijack the authorization of the other
user. Additionally, a local or physically proximate attacker could set
the system clock to the epoch, bypassing time restrictions on sudo
authentication.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201401-23.xml

Solution :

All sudo users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-admin/sudo-1.8.6_p7'

Risk factor :

Medium / CVSS Base Score : 6.9
(CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 6.0
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 72078 ()

Bugtraq ID: 58203
58207
62741

CVE ID: CVE-2013-1775
CVE-2013-1776
CVE-2013-2776
CVE-2013-2777