V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsDocs
CVE-2012-1823
DEB
Critical KEVConfirmedExploit available

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 qu…

CVSS
9.8
Critical
EPSS
0.94
p99
Published
2012-01-01
Updated
2022-03-25
Description

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.

Tags · CWE
KEVPre-auth
CWE-77
CAPEC-15
CAPEC-40
CAPEC-43
CAPEC-75
CAPEC-76
CAPEC-136
CAPEC-183
CAPEC-248
Affected products
Application_stackGluster_storage_server_for_on-premiseStorageStorage_for_public_cloudEnterprise_linux_desktopEnterprise_linux_eusEnterprise_linux_serverEnterprise_linux_server_ausEnterprise_linux_workstation
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Timeline
2012-01-01
Published
2022-03-25
Added to KEV
2022-03-25
Updated
CVSS 3.1 breakdown
Attack Vector
AV: N
Network (N)
Attack Complexity
AC: L
Low (L)
Privileges Required
PR: N
None (N)
User Interaction
UI: N
None (N)
Scope
S: U
Unchanged (U)
Confidentiality Impact
C: H
High (H)
Integrity Impact
I: H
High (H)
Availability Impact
A: H
High (H)
Exploit indicators
EPSS
0.944 · p99
Known exploited (KEV)
Yes
Known exploits — Сканер-ВС
CVE-2012-1823
cisa · https://www.cisa.gov/known-exploited-vulnerabilities-catalog
Enterprise
18834
exploitdb · https://www.exploit-db.com/exploits/18834
Enterprise
18836
exploitdb · https://www.exploit-db.com/exploits/18836
Enterprise
29290
exploitdb · https://www.exploit-db.com/exploits/29290
Enterprise
29316
exploitdb · https://www.exploit-db.com/exploits/29316
Enterprise
Affected software
ProductVendorStatus
phpExploited
phpExploited
phpExploited
phpExploited
phpExploited
phpExploited
php5Exploited
php5Exploited
php53Exploited
php53Exploited
application_stack*Exploited
debian_linux*Exploited
enterprise_linux_desktop*Exploited
enterprise_linux_eus*Exploited
enterprise_linux_server*Exploited
enterprise_linux_server_aus*Exploited
enterprise_linux_workstation*Exploited
fedora*Exploited
gluster_storage_server_for_on-premise*Exploited
hp-ux*Exploited
Source databases
DEB
CVE
RED
UBU
Related vulnerabilities