GLSA 200509-19: PHP: Vulnerabilities in included PCRE and XML-RPC libraries

Опасность:средняя
Заголовок:PHP: Vulnerabilities in included PCRE and XML-RPC libraries
Дата:27.09.2005
Ошибки: #102373
ID:200509-19

Сводка

PHP makes use of an affected PCRE library and ships with an affected XML-RPC library and is therefore potentially vulnerable to remote execution of arbitrary code.

Назначение

PHP is a general-purpose scripting language widely used to develop web-based applications. It can run inside a web server using the mod_php module or the CGI version of PHP, or can run stand-alone in a CLI.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
dev-php/php < 4.4.0-r1 >= 4.3.11-r1 All supported architectures
dev-php/mod_php < 4.4.0-r2 >= 4.3.11-r1 All supported architectures
dev-php/php-cgi < 4.4.0-r2 >= 4.3.11-r2 All supported architectures

Описание

PHP makes use of a private copy of libpcre which is subject to an integer overflow leading to a heap overflow (see GLSA 200508-17). It also ships with an XML-RPC library affected by a script injection vulnerability (see GLSA 200508-13).

Воздействие

An attacker could target a PHP-based web application that would use untrusted data as regular expressions, potentially resulting in the execution of arbitrary code. If web applications make use of the XML-RPC library shipped with PHP, they are also vulnerable to remote execution of arbitrary PHP code.

Обход

There is no known workaround at this time.

Решение

All PHP users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose dev-php/php

All mod_php users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose dev-php/mod_php

All php-cgi users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose dev-php/php-cgi

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!