Ubuntu 5.04 / 5.10 / 6.06 LTS : shadow vulnerability (USN-308-1)

High Nessus Plugin ID 27883

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

Ilja van Sprundel discovered that passwd, when called with the -f, -g, or -s option, did not check the result of the setuid() call. On systems that configure PAM limits for the maximum number of user processes, a local attacker could exploit this to execute chfn, gpasswd, or chsh with root privileges.

This does not affect the default configuration of Ubuntu.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected login and / or passwd packages.

See Also

https://usn.ubuntu.com/308-1/

Plugin Details

Severity: High

ID: 27883

File Name: ubuntu_USN-308-1.nasl

Version: 1.14

Type: local

Agent: unix

Published: 2007/11/10

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:login, p-cpe:/a:canonical:ubuntu_linux:passwd, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10, cpe:/o:canonical:ubuntu_linux:6.06:-:lts

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2006/07/06

Reference Information

CVE: CVE-2006-3378

USN: 308-1