synced 1 MIN AGO
01 Record

CVE-2012-1823

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

CriticalKEVPUBLISHEDCNA: certcc
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

02 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

03 Exploitation and scoring

Exploitation
Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2022-03-25. Federal remediation due 2022-04-15.
SSVC decision
  • ExploitationactiveCISA reports credible evidence of active exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
99.99% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-16.
Red Hat severity
Critical. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2012-05-11 10:00Z14 YR AGO
Last updated
2025-11-04 17:11Z11 MO AGO
Reserved
2012-03-21
Assigning CNA
certcc
Record state
PUBLISHED
Severity
Critical (CVSS 9.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')Class
Data version
5.2
Document digest
4833a78072867a342f3ebefedfed8600cfbbd62cd0ae54c4d830238a81571839

05 Affected products

VendorProductVersionsPlatforms
applemac_os_xNot specified—
debiandebian_linuxNot specified—
fedoraprojectfedoraNot specified—
hphp-uxNot specified—
opensuseopensuseNot specified—
phpphpNot specified—
redhatapplication_stackNot specified—
redhatenterprise_linuxNot specified—
redhatenterprise_linux_desktopNot specified—
redhatenterprise_linux_eusNot specified—
redhatenterprise_linux_serverNot specified—
redhatenterprise_linux_server_ausNot specified—
redhatenterprise_linux_workstationNot specified—
redhatrhel_eusNot specified—
redhatrhel_mission_criticalNot specified—
redhatstorageNot specified—
redhatstorage_for_public_cloudNot specified—
suselinux_enterprise_serverNot specified—

06 References