GLSA 200911-06: PEAR Net_Traceroute: Command injection

Опасность:высокая
Заголовок:PEAR Net_Traceroute: Command injection
Дата:26.11.2009
Ошибки: #294264
ID:200911-06

Сводка

An input sanitation error in PEAR Net_Traceroute might allow remote attackers to execute arbitrary commands.

Назначение

PEAR Net_Traceroute is an OS independent wrapper class for executing traceroute calls from PHP.

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
dev-php/PEAR-Net_Traceroute < 0.21.2 >= 0.21.2 All supported architectures

Описание

Pasquale Imperato reported that the $host parameter to the traceroute() function in Traceroute.php is not properly sanitized before being passed to exec().

Воздействие

A remote attacker could exploit this vulnerability when user input is passed directly to PEAR Net_Traceroute in a PHP script, possibly resulting in the remote execution of arbitrary shell commands with the privileges of the user running the affected PHP script.

Обход

Ensure that all data that is passed to the traceroute() function is properly shell escaped (for instance using the escapeshellcmd() function).

Решение

All PEAR Net_Traceroute users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-php/PEAR-Net_Traceroute-0.21.2"

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-200911-06.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!