GLSA 200609-10: DokuWiki: Arbitrary command execution

Опасность:высокая
Заголовок:DokuWiki: Arbitrary command execution
Дата:14.09.2006
Ошибки: #146800
ID:200609-10

Сводка

Vulnerabilities in some accessory scripts of DokuWiki allow remote code execution.

Назначение

DokuWiki is a wiki targeted at developer teams, workgroups and small companies. It does not use a database backend.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
www-apps/dokuwiki < 20060309d >= 20060309d All supported architectures

Описание

"rgod" discovered that DokuWiki doesn't sanitize the X-FORWARDED-FOR HTTP header, allowing the injection of arbitrary contents - such as PHP commands - into a file. Additionally, the accessory scripts installed in the "bin" DokuWiki directory are vulnerable to directory traversal attacks, allowing to copy and execute the previously injected code.

Воздействие

A remote attacker may execute arbitrary PHP (and thus probably system) commands with the permissions of the user running the process serving DokuWiki pages.

Обход

Disable remote access to the "bin" subdirectory of the DokuWiki installation. Remove the directory if you don't use the scripts in there.

Решение

All DokuWiki users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-apps/dokuwiki-20060309d"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!