GLSA 202601-01: inetutils: Remote Code Execution
| Опасность: | высокая |
| Заголовок: | inetutils: Remote Code Execution |
| Дата: | 26.01.2026 |
| Ошибки: | |
| ID: | 202601-01 |
Сводка
A vulnerability has been discovered in the telnetd module of inetutils, which allows remote code execution as root.Назначение
Inetutils is a collection of common network programs including a telnet client and server.
Уязвимые пакеты
| Пакет | Уязвимый | Нетронутый | Архитектура(ы) |
|---|---|---|---|
| net-misc/inetutils | < 2.7 | >= 2.7 | All supported architectures |
Описание
The telnetd server invokes /usr/bin/login (normally running as root) passing the value of the USER environment variable received from the client as the last parameter. If the client supply a carefully crafted USER environment value being the string "-f root", and passes the telnet(1) -a or --login parameter to send this USER environment to the server, the client will be automatically logged in as root bypassing normal authentication processes. This happens because the telnetd server do not sanitize the USER environment variable before passing it on to login(1), and login(1) uses the -f parameter to by-pass normal authentication.
Воздействие
An attacker can login as root via the telnetd daemon.
Обход
Reinstall inetutils with the telnetd USE flag disabled. This is the default in Gentoo.
Решение
All inetutils users with the telnetd USE flag enabled should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/inetutils-2.7"
Ссылки
Наличие
Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security:
Опасения?
Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.
Лицензия
Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.