CVE-2023-26604
Last modified
CVE-2023-26604 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.05% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Debian | Debian Linux | 10.0 |
| Systemd Project | Systemd | < 246.7 |
References
- http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.htmlExploit, Third Party Advisory
- https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00032.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230505-0009/Third Party Advisory
- http://packetstormsecurity.com/files/174130/systemd-246-Local-Root-Privilege-Escalation.htmlExploit, Third Party Advisory
- https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00032.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230505-0009/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-26604?
How severe is CVE-2023-26604?
How do I fix CVE-2023-26604?
Are you affected by CVE-2023-26604?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
