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 (6)
Core 6
Core References
Exploit, Third Party Advisory
http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.html
Exploit, Third Party Advisory
https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/
Third Party Advisory
https://medium.com/%40zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7
Third Party Advisory
https://security.netapp.com/advisory/ntap-20230505-0009/
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2023/03/msg00032.html
Scores
CVSS v3
7.8
EPSS
0.0562
EPSS Percentile
90.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-269
Status
published
Products (2)
debian/debian_linux
10.0
systemd_project/systemd
< 246.7
Published
Mar 03, 2023
Tracked Since
Feb 18, 2026