CVE-2023-26604

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*

History

11 Aug 2023, 15:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.html -

05 May 2023, 20:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20230505-0009/ -

31 Mar 2023, 23:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2023/03/msg00032.html -

10 Mar 2023, 14:08

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE NVD-CWE-noinfo
CPE cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
References (MISC) https://github.com/systemd/systemd/blob/main/NEWS#L4335-L4340 - (MISC) https://github.com/systemd/systemd/blob/main/NEWS#L4335-L4340 - Release Notes
References (MISC) https://medium.com/@zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7 - (MISC) https://medium.com/@zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7 - Exploit, Third Party Advisory
References (MISC) https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/ - (MISC) https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/ - Exploit, Third Party Advisory

03 Mar 2023, 16:35

Type Values Removed Values Added
New CVE

Information

Published : 2023-03-03 16:15

Updated : 2024-02-04 23:14


NVD link : CVE-2023-26604

Mitre link : CVE-2023-26604

CVE.ORG link : CVE-2023-26604


JSON object : View

Products Affected

systemd_project

  • systemd