GLSA-201705-15 : sudo: Privilege escalation

This script is Copyright (C) 2017 Tenable Network Security, Inc.

Synopsis :

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

Description :

The remote host is affected by the vulnerability described in GLSA-201705-15
(sudo: Privilege escalation)

Qualys discovered a vulnerability in sudo’s get_process_ttyname() for
Linux, that via sudo_ttyname_scan() can be directed to use a
user-controlled, arbitrary tty device during its traversal of “/dev”
by utilizing the world-writable /dev/shm.
For further information, please see the Qualys Security Advisory

Impact :

A local attacker can pretend that his tty is any character device on the
filesystem, and after two race conditions, an attacker can pretend that
the controlled tty is any file on the filesystem allowing for privilege

Workaround :

There is no known workaround at this time.

See also :

Solution :

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

Risk factor :

Medium / CVSS Base Score : 6.9

Family: Gentoo Local Security Checks

Nessus Plugin ID: 100523 ()

Bugtraq ID:

CVE ID: CVE-2017-1000367

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now