Ubuntu 9.10 / 10.04 LTS / 10.10 : shadow vulnerability (USN-1065-1)

Medium Nessus Plugin ID 51997


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


Kees Cook discovered that some shadow utilities did not correctly validate user input. A local attacker could exploit this flaw to inject newlines into the /etc/passwd file. If the system was configured to use NIS, this could lead to existing NIS groups or users gaining or losing access to the system, resulting in a denial of service or unauthorized access.

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.


Update the affected login and / or passwd packages.

Plugin Details

Severity: Medium

ID: 51997

File Name: ubuntu_USN-1065-1.nasl

Version: $Revision: 1.8 $

Type: local

Agent: unix

Published: 2011/02/16

Modified: 2016/05/27

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.4

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:login, p-cpe:/a:canonical:ubuntu_linux:passwd, cpe:/o:canonical:ubuntu_linux:10.04:-:lts, cpe:/o:canonical:ubuntu_linux:10.10, cpe:/o:canonical:ubuntu_linux:9.10

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

Patch Publication Date: 2011/02/15

Reference Information

CVE: CVE-2011-0721

OSVDB: 70895

USN: 1065-1