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.
- 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
06 References
- marc.infoSSRT100856http://marc.info/?l=bugtraq&m=134012830914727&w=2
- lists.opensuse.orgSUSE-SU-2012:0604http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html
- www.securitytracker.com1027022http://www.securitytracker.com/id?1027022
- h20000.www2.hp.comHPSBMU02786http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- www.mandriva.comMDVSA-2012:068http://www.mandriva.com/security/advisories?name=MDVSA-2012:068
- lists.opensuse.orgopenSUSE-SU-2012:0590http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00002.html
- rhn.redhat.comRHSA-2012:0546http://rhn.redhat.com/errata/RHSA-2012-0546.html
- rhn.redhat.comRHSA-2012:0568http://rhn.redhat.com/errata/RHSA-2012-0568.html
- rhn.redhat.comRHSA-2012:0569http://rhn.redhat.com/errata/RHSA-2012-0569.html
- www.php.nethttp://www.php.net/ChangeLog-5.php#5.4.2
- secunia.com49014http://secunia.com/advisories/49014
- rhn.redhat.comRHSA-2012:0570http://rhn.redhat.com/errata/RHSA-2012-0570.html
- lists.opensuse.orgSUSE-SU-2012:0598http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html
- bugs.php.nethttps://bugs.php.net/bug.php?id=61910
- www.kb.cert.orgVU#673343http://www.kb.cert.org/vuls/id/673343
- rhn.redhat.comRHSA-2012:0547http://rhn.redhat.com/errata/RHSA-2012-0547.html
- lists.apple.comAPPLE-SA-2012-09-19-2http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- support.apple.comhttp://support.apple.com/kb/HT5501
- eindbazen.nethttp://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
- secunia.com49065http://secunia.com/advisories/49065
- www.kb.cert.orgVU#520827http://www.kb.cert.org/vuls/id/520827
- bugs.php.nethttps://bugs.php.net/patch-display.php?bug_id=61910&patch=cgi.diff&revision=1335984315&display=1
- www.debian.orgDSA-2465http://www.debian.org/security/2012/dsa-2465
- secunia.com49085http://secunia.com/advisories/49085
- www.php.nethttp://www.php.net/archive/2012.php#id2012-05-03-1
- secunia.com49087http://secunia.com/advisories/49087
- www.openwall.com[oss-security] 20240606 PHP security releases 8.3.8, 8.2.20, and 8.1.29http://www.openwall.com/lists/oss-security/2024/06/07/1
- lists.fedoraproject.orgFEDORA-2024-49aba7b305https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/
- lists.fedoraproject.orgFEDORA-2024-52c23ef1echttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-1823