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

exploitDog

nvd логотип

CVE-2023-42456

Опубликовано: 21 сент. 2023
Источник: nvd
CVSS3: 3.1
CVSS3: 8.1
EPSS Низкий

Описание

Sudo-rs, a memory safe implementation of sudo and su, allows users to not have to enter authentication at every sudo attempt, but instead only requiring authentication every once in a while in every terminal or process group. Only once a configurable timeout has passed will the user have to re-authenticate themselves. Supporting this functionality is a set of session files (timestamps) for each user, stored in /var/run/sudo-rs/ts. These files are named according to the username from which the sudo attempt is made (the origin user).

An issue was discovered in versions prior to 0.2.1 where usernames containing the . and / characters could result in the corruption of specific files on the filesystem. As usernames are generally not limited by the characters they can contain, a username appearing to be a relative path can be constructed. For example we could add a user to the system containing the username ../../../../bin/cp. When logged in as a user with that name, that user could

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:memorysafety:sudo:*:*:*:*:*:rust:*:*
Версия до 0.2.1 (исключая)

EPSS

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

3.1 Low

CVSS3

8.1 High

CVSS3

Дефекты

CWE-22
CWE-22

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

CVSS3: 3.1
ubuntu
почти 2 года назад

Sudo-rs, a memory safe implementation of sudo and su, allows users to not have to enter authentication at every sudo attempt, but instead only requiring authentication every once in a while in every terminal or process group. Only once a configurable timeout has passed will the user have to re-authenticate themselves. Supporting this functionality is a set of session files (timestamps) for each user, stored in `/var/run/sudo-rs/ts`. These files are named according to the username from which the sudo attempt is made (the origin user). An issue was discovered in versions prior to 0.2.1 where usernames containing the `.` and `/` characters could result in the corruption of specific files on the filesystem. As usernames are generally not limited by the characters they can contain, a username appearing to be a relative path can be constructed. For example we could add a user to the system containing the username `../../../../bin/cp`. When logged in as a user with that name, that user cou...

CVSS3: 3.1
debian
почти 2 года назад

Sudo-rs, a memory safe implementation of sudo and su, allows users to ...

CVSS3: 3.1
github
почти 2 года назад

sudo-rs Session File Relative Path Traversal vulnerability

CVSS3: 8.1
fstec
почти 2 года назад

Уязвимость программ системного администрирования Sudo-rs, связанная с недостаточной проверкой введенных пользователем командных аргументов, позволяющая нарушителю повысить свои привилегии путём создания специально сформированного имени пользователя

CVSS3: 8.1
redos
больше 1 года назад

Множественные уязвимости sudo

EPSS

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

3.1 Low

CVSS3

8.1 High

CVSS3

Дефекты

CWE-22
CWE-22