Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g8qw-mgjx-rwjr

Опубликовано: 16 июн. 2025
Источник: github
Github: Прошло ревью
CVSS3: 6.4

Описание

New authd users logging in via SSH are members of the root group

Impact

When an authd user logs in via SSH for the first time (meaning they do not yet exist in the authd user database) and successfully authenticates via the configured broker, the user is considered a member of the root group in the context of that SSH session. This situation may allow the user to read and write files that are accessible by the root group, to which they should not have access. The user does not get root privileges or any capabilities beyond the access granted to the root group.

Preconditions under which this vulnerability affects a system

Patches

Fixed by https://github.com/ubuntu/authd/commit/619ce8e55953b970f1765ddaad565081538151ab

Workarounds

Configure the SSH server to not allow authenticating via authd, for example by setting UsePAM no or KbdInteractiveAuthentication no in the sshd_config (see https://documentation.ubuntu.com/authd/stable/howto/login-ssh/#ssh-configuration).

Пакеты

Наименование

github.com/ubuntu/authd

go
Затронутые версииВерсия исправления

< 0.5.4

0.5.4

EPSS

Процентиль: 3%
0.00016
Низкий

6.4 Medium

CVSS3

Дефекты

CWE-266
CWE-269

Связанные уязвимости

CVSS3: 8.5
nvd
8 месяцев назад

A flaw was found in the temporary user record that authd uses in the pre-auth NSS. As a result, a user login for the first time will be considered to be part of the root group in the context of that SSH session.

EPSS

Процентиль: 3%
0.00016
Низкий

6.4 Medium

CVSS3

Дефекты

CWE-266
CWE-269