Debian dla-3732 : sudo - security update

high Nessus Plugin ID 189972

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3732 advisory.

- Sudo before 1.9.13 does not escape control characters in log messages. (CVE-2023-28486)

- Sudo before 1.9.13 does not escape control characters in sudoreplay output. (CVE-2023-28487)

- A flaw was found in sudo in the handling of ipa_hostname, where ipa_hostname from /etc/sssd/sssd.conf was not propagated in sudo. Therefore, it leads to privilege mismanagement vulnerability in applications, where client hosts retain privileges even after retracting them. (CVE-2023-7090)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the sudo packages.

See Also

https://security-tracker.debian.org/tracker/source-package/sudo

https://security-tracker.debian.org/tracker/CVE-2023-28486

https://security-tracker.debian.org/tracker/CVE-2023-28487

https://security-tracker.debian.org/tracker/CVE-2023-7090

https://packages.debian.org/source/buster/sudo

Plugin Details

Severity: High

ID: 189972

File Name: debian_DLA-3732.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/3/2024

Updated: 2/8/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-7090

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/3/2024

Vulnerability Publication Date: 3/2/2023

Reference Information

CVE: CVE-2023-28486, CVE-2023-28487, CVE-2023-7090

IAVA: 2023-A-0121-S