CVE-2023-26604

high

Description

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because less executes as root when the terminal size is too small to show the complete systemctl output.

References

https://security.netapp.com/advisory/ntap-20230505-0009/

https://medium.com/%40zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7

https://lists.debian.org/debian-lts-announce/2023/03/msg00032.html

https://github.com/systemd/systemd/blob/main/NEWS#L4335-L4340

http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.html

Details

Source: Mitre, NVD

Published: 2023-03-03

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 6.8

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

Severity: Medium

CVSS v3

Base Score: 7.8

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

Severity: High