Уязвимость обхода механизма защиты в PHP через некорректную обработку аргументов командной строки в php-wrapper.fcgi
Описание
Обнаружена уязвимость в php-wrapper.fcgi, связанная с некорректной обработкой аргументов командной строки. Это позволяет удалённым злоумышленникам обойти механизм защиты в PHP и выполнить произвольный код, используя неправильное взаимодействие между компонентом PHP sapi/cgi/cgi_main.c
и строкой запроса, начинающейся с последовательности +-
.
Заявление
Меры по устранению CVE-2012-2335 включены в следующие обновления PHP для Red Hat Enterprise Linux 5 и 6, которые также решают проблему CVE-2012-2336 (BZ#820708):
Затронутые версии ПО
- PHP 5.3.12
- PHP 5.4.2
Тип уязвимости
- Выполнение произвольного кода
- Обход механизма защиты
Идентификаторы
- CVE-2012-2335
- CVE-2012-2336
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Application Stack v2 for Enterprise Linux | php | Will not fix | ||
Red Hat Enterprise Linux 3 | php | Not affected | ||
Red Hat Enterprise Linux 4 | php | Not affected | ||
Red Hat Enterprise Linux 5 | php | Affected | ||
Red Hat Enterprise Linux 5 | php53 | Affected | ||
Red Hat Enterprise Linux 6 | php | Affected |
Показывать по
Дополнительная информация
Статус:
EPSS
5.1 Medium
CVSS2
Связанные уязвимости
php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.
php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.
php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.
EPSS
5.1 Medium
CVSS2