Lucene search

K
cve[email protected]CVE-2012-1823
HistoryMay 11, 2012 - 10:15 a.m.

CVE-2012-1823

2012-05-1110:15:48
web.nvd.nist.gov
1351
In Wild
7
cve-2012-1823
php
cgi
remote code execution
nvd

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.9

Confidence

High

EPSS

0.915

Percentile

98.9%

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.

Affected configurations

NVD
Node
phpphpRange<5.3.12
OR
phpphpRange5.4.05.4.2
Node
fedoraprojectfedoraMatch39
OR
fedoraprojectfedoraMatch40
Node
debiandebian_linuxMatch6.0
Node
hphp-uxMatchb.11.23
OR
hphp-uxMatchb.11.31
Node
opensuseopensuseMatch11.4
OR
opensuseopensuseMatch12.1
OR
suselinux_enterprise_serverMatch10sp4-
OR
suselinux_enterprise_serverMatch11sp2-
OR
suselinux_enterprise_serverMatch11sp2vmware
OR
suselinux_enterprise_software_development_kitMatch10sp4
OR
suselinux_enterprise_software_development_kitMatch11sp2
Node
applemac_os_xRange10.6.810.7.5
OR
applemac_os_xRange10.8.010.8.2
Node
redhatapplication_stackMatch2.0
OR
redhatgluster_storage_server_for_on-premiseMatch2.0
OR
redhatstorageMatch2.0
OR
redhatstorage_for_public_cloudMatch2.0
OR
redhatenterprise_linux_desktopMatch6.0
OR
redhatenterprise_linux_eusMatch5.6
OR
redhatenterprise_linux_eusMatch6.1
OR
redhatenterprise_linux_eusMatch6.2
OR
redhatenterprise_linux_serverMatch5.0
OR
redhatenterprise_linux_serverMatch6.0
OR
redhatenterprise_linux_server_ausMatch5.3
OR
redhatenterprise_linux_server_ausMatch5.6
OR
redhatenterprise_linux_workstationMatch5.0
OR
redhatenterprise_linux_workstationMatch6.0

References

Social References

More

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.9

Confidence

High

EPSS

0.915

Percentile

98.9%