Name | CVE-2023-26604 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3377-1, ELA-916-1, ELA-917-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
systemd (PTS) | jessie, jessie (lts) | 215-17+deb8u15 | fixed |
stretch (security) | 232-25+deb9u14 | vulnerable | |
stretch (lts), stretch | 232-25+deb9u17 | fixed | |
buster, buster (lts) | 241-7~deb10u11 | fixed | |
buster (security) | 241-7~deb10u10 | fixed | |
bullseye | 247.3-7+deb11u5 | fixed | |
bullseye (security) | 247.3-7+deb11u6 | fixed | |
bookworm | 252.31-1~deb12u1 | fixed | |
sid, trixie | 257~rc2-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
systemd | source | jessie | 215-17+deb8u15 | ELA-917-1 | ||
systemd | source | stretch | 232-25+deb9u16 | ELA-916-1 | ||
systemd | source | buster | 241-7~deb10u9 | DLA-3377-1 | ||
systemd | source | (unstable) | 247.1-2 |
https://medium.com/%40zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7
https://github.com/systemd/systemd/blob/main/NEWS#L4335-L4340
https://blog.compass-security.com/2012/10/dangerous-sudoers-entries-part-2-insecure-functionality/