PT-2023-9380 · Shadow+4 · Shadow+4

Tom Neaves

·

Published

2023-04-14

·

Updated

2026-01-21

·

CVE-2023-29383

CVSS v3.1

3.3

Low

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Shadow version 4.13
Description The issue is related to insufficient neutralization of special elements in a request, which can be exploited to impact data integrity. In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger). Although direct exploitation is not possible due to block lists, an adversary can misrepresent the /etc/passwd file when viewed. By using r manipulations and Unicode characters to work around blocking of the : character, it is possible to give the impression that a new user has been added. This could lead to a social-engineered denial of service, where a system administrator takes the system offline after being convinced that a rogue user account exists.
Recommendations For Shadow version 4.13, consider disabling the chfn function until a patch is available to prevent potential manipulation of the /etc/passwd file. Restrict access to the chfn program to minimize the risk of exploitation. Avoid using the chfn program to modify user accounts until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Out of bounds Read

Special Elements Injection

Weakness Enumeration

Related Identifiers

ALT-PU-2023-1828
ALT-PU-2023-4978
AZL-26247
BDU:2024-06940
CVE-2023-29383
DLA-4130-1
ECHO-9410-1B2D-191E
OESA-2023-1258
OPENSUSE-SU-2024:12881-1
SUSE-SU-2023:2066-1
SUSE-SU-2023:2067-1
SUSE-SU-2023:2068-1
SUSE-SU-2023:2069-1
SUSE-SU-2023:2070-1
SUSE-SU-2023_2066-1
SUSE-SU-2023_2067-1
SUSE-SU-2023_2068-1
SUSE-SU-2023_2069-1
SUSE-SU-2023_2070-1
SUSE-SU-2024:0939-1
SUSE-SU-2024:1007-1
SUSE-SU-2024:1007-2

Affected Products

Alt Linux
Astra Linux
Debian
Shadow
Suse