Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2023-26604

Published: 3 March 2023

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.

Notes

AuthorNote
rodrigo-zaiden
on https://github.com/systemd/systemd/issues/5666
upstream claims this is not a vulnerability.
upstream feature SYSTEMD_PAGERSECURE implemented
in systemd version 247.
mdeslaur
This is only an issue if an administrator configured systemctl
access using sudo instead of using policykit, which is an
unlikely scenario. Per Red Hat bug, systemctl commands that use
the pager can run unprivileged. Setting priority to "low".

Priority

Low

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
systemd
Launchpad, Ubuntu, Debian
bionic Needed

focal Needed

jammy Not vulnerable
(249.11-0ubuntu3.6)
kinetic Not vulnerable
(251.4-1ubuntu7)
lunar Not vulnerable
(252.4-1ubuntu1)
mantic Not vulnerable
(252.4-1ubuntu1)
trusty Needs triage

upstream Needs triage

xenial Needs triage

Patches:
upstream: https://github.com/systemd/systemd/commit/612ebf6c913dd0e4197c44909cb3157f5c51a2f0
upstream: https://github.com/systemd/systemd/commit/0a42426d797406b4b01a0d9c13bb759c2629d108
upstream: https://github.com/systemd/systemd/commit/b8f736b30e20a2b44e7c34bb4e43b0d97ae77e3c

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H