Debian DSA-596-2 : sudo - missing input sanitising

high Nessus Plugin ID 15825
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

Liam Helmer noticed that sudo, a program that provides limited super user privileges to specific users, does not clean the environment sufficiently. Bash functions and the CDPATH variable are still passed through to the program running as privileged user, leaving possibilities to overload system routines. These vulnerabilities can only be exploited by users who have been granted limited super user privileges.

Solution

Upgrade the sudo package.

For the stable distribution (woody) these problems have been fixed in version 1.6.6-1.3.

See Also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281665

http://www.debian.org/security/2004/dsa-596

Plugin Details

Severity: High

ID: 15825

File Name: debian_DSA-596.nasl

Version: 1.22

Type: local

Agent: unix

Published: 11/24/2004

Updated: 1/4/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:sudo, cpe:/o:debian:debian_linux:3.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/24/2004

Vulnerability Publication Date: 11/12/2004

Exploitable With

CANVAS (D2ExploitPack)

Reference Information

CVE: CVE-2004-1051

DSA: 596