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
Link | Resource |
---|---|
https://medium.com/@zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7 | Exploit Third Party Advisory |
https://github.com/systemd/systemd/blob/main/NEWS#L4335-L4340 | Release Notes |
https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/ | Exploit Third Party Advisory |
Configurations
Information
Published : 2023-03-03 08:15
Updated : 2023-03-10 06:08
NVD link : CVE-2023-26604
Mitre link : CVE-2023-26604
JSON object : View
CWE
Products Affected
systemd_project
- systemd