Debian dla-4130 : login - security update

medium Nessus Plugin ID 234692

Synopsis

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

Description

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

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4130-1 [email protected] https://www.debian.org/lts/security/ Sylvain Beucler April 18, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : shadow Version : 1:4.8.1-1+deb11u1 CVE ID : CVE-2023-4641 CVE-2023-29383 Debian Bug : 1034482 1051062

Several vulnerabilities were discovered in the shadow suite of login tools. An attacker may extract a password from memory in limited situations, and confuse an administrator inspecting /etc/passwd from within a terminal.

CVE-2023-4641

When asking for a new password, shadow-utils asks the password twice. If the password fails on the second attempt, shadow-utils fails in cleaning the buffer used to store the first entry. This may allow an attacker with enough access to retrieve the password from the memory.

CVE-2023-29383

It is possible to inject control characters into fields provided to the SUID program chfn (change finger). Although it is not possible to exploit this directly (e.g., adding a new user fails because \n is in the block list), it is possible to misrepresent the /etc/passwd file when viewed.

For Debian 11 bullseye, these problems have been fixed in version 1:4.8.1-1+deb11u1.

We recommend that you upgrade your shadow packages.

For the detailed security status of shadow please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/shadow

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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 login packages.

See Also

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

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

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

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

Plugin Details

Severity: Medium

ID: 234692

File Name: debian_DLA-4130.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/21/2025

Updated: 4/21/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2023-4641

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:login, p-cpe:/a:debian:debian_linux:passwd, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:uidmap

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: 4/18/2025

Vulnerability Publication Date: 4/14/2023

Reference Information

CVE: CVE-2023-29383, CVE-2023-4641