sapi/cgi/cgi_main.c в PHP до 5.3.12 и 5.4.x до 5.4.2, если он настроен как сценарий CGI (он же php-cgi), не обрабатывает должным образом строки запроса, в которых отсутствует символ = (знак равенства), что позволяет удаленным злоумышленникам выполнять произвольный код, помещая параметры командной строки в строку запроса, что связано с отсутствием пропуска определенного php_getopt для случая 'd'.
Показать оригинальное описание (EN)
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 30
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Php Php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
|
— |
5.3.12
|
|
Php Php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
|
5.4.0
|
5.4.2
|
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
|
— | — |
|
Hp Hp-Ux
cpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:*
|
— | — |
|
Hp Hp-Ux
cpe:2.3:o:hp:hp-ux:b.11.31:*:*:*:*:*:*:*
|
— | — |
|
Opensuse Opensuse
cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:*
|
— | — |
|
Opensuse Opensuse
cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:*
|
— | — |
|
Suse Linux_Enterprise_Server
cpe:2.3:o:suse:linux_enterprise_server:10:sp4:*:*:-:*:*:*
|
— | — |
|
Suse Linux_Enterprise_Server
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:*
|
— | — |
|
Suse Linux_Enterprise_Server
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:*
|
— | — |
|
Suse Linux_Enterprise_Software_Development_Kit
cpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp4:*:*:*:*:*:*
|
— | — |
|
Suse Linux_Enterprise_Software_Development_Kit
cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:*
|
— | — |
|
Apple Mac_Os_X
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
|
10.6.8
|
10.7.5
|
|
Apple Mac_Os_X
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
|
10.8.0
|
10.8.2
|
|
Redhat Application_Stack
cpe:2.3:a:redhat:application_stack:2.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Gluster_Storage_Server_For_On-Premise
cpe:2.3:a:redhat:gluster_storage_server_for_on-premise:2.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Storage
cpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Storage_For_Public_Cloud
cpe:2.3:a:redhat:storage_for_public_cloud:2.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:5.6:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:6.1:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server
cpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server_Aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:5.3:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server_Aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:5.6:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
|
— | — |