Debian DLA-382-1 : sudo security update

high Nessus Plugin ID 87826

Synopsis

The remote Debian host is missing a security update.

Description

When sudo is configured to allow a user to edit files under a directory that they can already write to without using sudo, they can actually edit (read and write) arbitrary files. Daniel Svartman reported that a configuration like this might be introduced unintentionally if the editable files are specified using wildcards, for example :

operator ALL=(root) sudoedit /home/*/*/test.txt

The default behaviour of sudo has been changed so that it does not allow editing of a file in a directory that the user can write to, or that is reached by following a symlink in a directory that the user can write to. These restrictions can be disabled, but this is strongly discouraged.

For the oldoldstable distribution (squeeze), this has been fixed in version 1.7.4p4-2.squeeze.6.

For the oldstable distribution (wheezy) and the stable distribution (jessie), this will be fixed soon.

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

Solution

Upgrade the affected sudo, and sudo-ldap packages.

See Also

https://lists.debian.org/debian-lts-announce/2016/01/msg00005.html

https://packages.debian.org/source/squeeze-lts/sudo

Plugin Details

Severity: High

ID: 87826

File Name: debian_DLA-382.nasl

Version: 2.4

Type: local

Agent: unix

Published: 1/11/2016

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

Vulnerability Information

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

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: 1/10/2016

Reference Information

CVE: CVE-2015-5602