CVE
CVE-2012-1823
Apple · Mac os x; Debian · Debian linux; +15 more
- First Reported
- Jun 10, 2024
- Latest Reported
- Oct 20, 2026
CVE Enrichment
- CVSS
- 9.8 CRITICAL
- EPSS
- 100.00%
- EPSS Percentile
- 99.99%
- CISA KEV
- YES — Known Exploited Vulnerability
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 11-May-2012 17:15
- Last Modified
- 17-Jun-2026 06:40
- EPSS Date
- 2026-11-10
- CWE
- CWE-77
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:H
CISA KEV Details
- Date Added
- 2022-03-25
- Remediation Due
- 2022-04-15
- Known Ransomware Campaign Use
- Unknown
- Required Action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2012-1823
CNA Products / Version Status
- n/a · n/a
Source: CNA · [email protected]
Default status: unknown
n/a — affected
Affected Products / Versions
- php / php
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 5.3.12
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - php / php
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 5.4.0 · before (exclusive) 5.4.2
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* - fedoraproject / fedora
Source: NVD CPE · affected
Version / affected range: 39
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* - fedoraproject / fedora
Source: NVD CPE · affected
Version / affected range: 40
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* - debian / debian_linux
Source: NVD CPE · affected
Version / affected range: 6.0
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* - hp / hp-ux
Source: NVD CPE · affected
Version / affected range: b.11.23
cpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:* - hp / hp-ux
Source: NVD CPE · affected
Version / affected range: b.11.31
cpe:2.3:o:hp:hp-ux:b.11.31:*:*:*:*:*:*:* - opensuse / opensuse
Source: NVD CPE · affected
Version / affected range: 11.4
cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* - opensuse / opensuse
Source: NVD CPE · affected
Version / affected range: 12.1
cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:* - suse / linux_enterprise_server
Source: NVD CPE · affected
Version / affected range: 10
cpe:2.3:o:suse:linux_enterprise_server:10:sp4:*:*:-:*:*:* - suse / linux_enterprise_server
Source: NVD CPE · affected
Version / affected range: 11
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* - suse / linux_enterprise_server
Source: NVD CPE · affected
Version / affected range: 11
cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:* - suse / linux_enterprise_software_development_kit
Source: NVD CPE · affected
Version / affected range: 10
cpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp4:*:*:*:*:*:* - suse / linux_enterprise_software_development_kit
Source: NVD CPE · affected
Version / affected range: 11
cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* - apple / mac_os_x
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 10.6.8 · before (exclusive) 10.7.5
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* - apple / mac_os_x
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 10.8.0 · before (exclusive) 10.8.2
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* - redhat / application_stack
Source: NVD CPE · affected
Version / affected range: 2.0
cpe:2.3:a:redhat:application_stack:2.0:*:*:*:*:*:*:* - redhat / gluster_storage_server_for_on-premise
Source: NVD CPE · affected
Version / affected range: 2.0
cpe:2.3:a:redhat:gluster_storage_server_for_on-premise:2.0:*:*:*:*:*:*:* - redhat / storage
Source: NVD CPE · affected
Version / affected range: 2.0
cpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:* - redhat / storage_for_public_cloud
Source: NVD CPE · affected
Version / affected range: 2.0
cpe:2.3:a:redhat:storage_for_public_cloud:2.0:*:*:*:*:*:*:* - redhat / enterprise_linux_desktop
Source: NVD CPE · affected
Version / affected range: 6.0
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* - redhat / enterprise_linux_eus
Source: NVD CPE · affected
Version / affected range: 5.6
cpe:2.3:o:redhat:enterprise_linux_eus:5.6:*:*:*:*:*:*:* - redhat / enterprise_linux_eus
Source: NVD CPE · affected
Version / affected range: 6.1
cpe:2.3:o:redhat:enterprise_linux_eus:6.1:*:*:*:*:*:*:* - redhat / enterprise_linux_eus
Source: NVD CPE · affected
Version / affected range: 6.2
cpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:* - redhat / enterprise_linux_server
Source: NVD CPE · affected
Version / affected range: 5.0
cpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:* - redhat / enterprise_linux_server
Source: NVD CPE · affected
Version / affected range: 6.0
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* - redhat / enterprise_linux_server_aus
Source: NVD CPE · affected
Version / affected range: 5.3
cpe:2.3:o:redhat:enterprise_linux_server_aus:5.3:*:*:*:*:*:*:* - redhat / enterprise_linux_server_aus
Source: NVD CPE · affected
Version / affected range: 5.6
cpe:2.3:o:redhat:enterprise_linux_server_aus:5.6:*:*:*:*:*:*:* - redhat / enterprise_linux_workstation
Source: NVD CPE · affected
Version / affected range: 5.0
cpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:* - redhat / enterprise_linux_workstation
Source: NVD CPE · affected
Version / affected range: 6.0
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
References
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- CISA Advisory
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (3)
- However, even excluding it, Shellshock (CVE-2014-6271), PHP-CGI (CVE-2012-1823), and Oracle WebLogic vulnerabilities from 2017–2019 continue to see systematic probing. GreyNoise Report Highlights Edge Targeting, Fresh Attack Infrastructure and LLM Scanning
- PHP CGI exploitation (CVE-2012-1823) Leaked Documents Reveal APT35’s Espionage Operations, Tooling and Victim Data
- Windows operating system. This allows unauthenticated attackers to bypass the previous protection of CVE-2012-1823 by using specific character sequences. The result is that arbitrary code can be executed on remote PHP PHP CGI Flaw CVE-2024-4577 Exploited to Deploy TellYouThePass Ransomware
CVE (13)
Malware (3)
People (11)
Threat Actors (6)
MITRE ATT&CK (19)
Vendors (10)
Products (27)
Tools (17)
Industries (7)
Countries (16)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
