Privilege escalation in Systemd Project

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.

Vulnerability class: Privilege Escalation

EPSS: 0.011 (62.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-26604?
CVE-2023-26604 is a high-severity vulnerability in Systemd Project, classified under Improper Privilege Management. CVSS score: 7.8/10. Published 2023-03-03.
How severe is CVE-2023-26604?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2023-26604 known to be exploited?
21 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.