GLSA-200903-24 : Shadow: Privilege escalation

high Nessus Plugin ID 35905

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-200903-24 (Shadow: Privilege escalation)

Paul Szabo reported a race condition in the 'login' executable when setting up tty permissions.
Impact :

A local attacker belonging to the 'utmp' group could use symlink attacks to overwrite arbitrary files and possibly gain root privileges.
Workaround :

There is no known workaround at this time.

Solution

All Shadow users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/shadow-4.1.2.2'

See Also

https://security.gentoo.org/glsa/200903-24

Plugin Details

Severity: High

ID: 35905

File Name: gentoo_GLSA-200903-24.nasl

Version: 1.11

Type: local

Published: 3/11/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:shadow, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 3/10/2009

Reference Information

CVE: CVE-2008-5394

CWE: 59

GLSA: 200903-24