CVE Catalog

CVE-2023-26604

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.05%

64th percentile - higher than 64% of all known CVEs

Summary

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.

Risk Assessment

A local user with permission to run systemctl via Sudo may gain root privileges, posing a serious threat to system confidentiality and integrity.

Recommendation

Update systemd to version 247 or later and review sudoers files to restrict the ability to run systemctl status via Sudo.

Other vulnerabilities in systemd

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS