Debian DSA-2164-1 : shadow - insufficient input sanitization

medium Nessus Plugin ID 52027

Synopsis

The remote Debian host is missing a security-related update.

Description

Kees Cook discovered that the chfn and chsh utilities do not properly sanitize user input that includes newlines. An attacker could use this to corrupt passwd entries and may create users or groups in NIS environments.

Packages in the oldstable distribution (lenny) are not affected by this problem.

Solution

Upgrade the shadow packages.

For the stable distribution (squeeze), this problem has been fixed in version 1:4.1.4.2+svn3283-2+squeeze1.

See Also

https://packages.debian.org/source/squeeze/shadow

https://www.debian.org/security/2011/dsa-2164

Plugin Details

Severity: Medium

ID: 52027

File Name: debian_DSA-2164.nasl

Version: 1.13

Type: local

Agent: unix

Published: 2/20/2011

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.0

CVSS v2

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:debian:debian_linux:shadow, cpe:/o:debian:debian_linux:6.0

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

Patch Publication Date: 2/16/2011

Reference Information

CVE: CVE-2011-0721

DSA: 2164