CVE-2023-26604
systemd: privilege escalation via the less pager
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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.
A vulnerability was found in the systemd package. The systemd package does not adequately block local privilege escalation for some Sudo configurations, for example, 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 issue 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.
systemd version 246 suffers from a local root privilege escalation vulnerability.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-02-26 CVE Reserved
- 2023-03-03 CVE Published
- 2023-06-19 First Exploit
- 2023-08-11 EPSS Updated
- 2024-08-02 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
CAPEC
References (9)
URL | Date | SRC |
---|---|---|
https://github.com/Zenmovie/CVE-2023-26604 | 2023-06-19 | |
https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality | 2024-08-02 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2023-26604 | 2024-10-07 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2175611 | 2024-10-07 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Systemd Project Search vendor "Systemd Project" | Systemd Search vendor "Systemd Project" for product "Systemd" | < 247 Search vendor "Systemd Project" for product "Systemd" and version " < 247" | - |
Affected
|