CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in PHP PHP. In CISA KEV since 2022-03-25. EPSS >99.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2012-1823 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-1823?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-1823?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-1823 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| php:php | before 5.3.12 |
| php:php | from 5.4.0 before 5.4.2 |
| fedoraproject:fedora | 39 |
| fedoraproject:fedora | 40 |
| debian:debian_linux | 6.0 |
| hp:hp-ux | b.11.23 |
| hp:hp-ux | b.11.31 |
| opensuse:opensuse | 11.4 |
| opensuse:opensuse | 12.1 |
| suse:linux_enterprise_server | 10:sp4 |
| suse:linux_enterprise_server | 11:sp2 |
| suse:linux_enterprise_software_development_kit | 10:sp4 |
| suse:linux_enterprise_software_development_kit | 11:sp2 |
| apple:mac_os_x | from 10.6.8 before 10.7.5 |
| apple:mac_os_x | from 10.8.0 before 10.8.2 |
| redhat:application_stack | 2.0 |
| redhat:gluster_storage_server_for_on-premise | 2.0 |
| redhat:storage | 2.0 |
| redhat:storage_for_public_cloud | 2.0 |
| redhat:enterprise_linux_desktop | 6.0 |
| redhat:enterprise_linux_eus | 5.6 |
| redhat:enterprise_linux_eus | 6.1 |
| redhat:enterprise_linux_eus | 6.2 |
| redhat:enterprise_linux_server | 5.0 |
| redhat:enterprise_linux_server | 6.0 |
| redhat:enterprise_linux_server_aus | 5.3 |
| redhat:enterprise_linux_server_aus | 5.6 |
| redhat:enterprise_linux_workstation | 5.0 |
| redhat:enterprise_linux_workstation | 6.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | php5 | 5.3.3-7+squeeze9 | DSA-2465-1 |
| Red Hat | enterprise_linux:5::client_workstation, enterprise_linux:5::server | php, php-gd, php-cli and 17 more | 0:5.1.6-34.el5_8 | RHSA-2012:0546 |
| Red Hat | enterprise_linux:5::client_workstation, enterprise_linux:5::server | php53, php53-gd, php53-cli and 19 more | 0:5.3.3-7.el5_8 | RHSA-2012:0547 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | php, php-gd, php-cli and 24 more | 0:5.3.3-3.el6_2.8 | RHSA-2012:0546 |
| Red Hat | rhel_application_stack:2 | php, php-gd, php-cli and 17 more | 0:5.2.10-2.el5s2 | RHSA-2012:0570 |
| Red Hat | rhel_eus:5.6 | php, php-gd, php-cli and 17 more | 0:5.1.6-27.el5_6.4 | RHSA-2012:0568 |
| Red Hat | rhel_eus:5.6 | php53, php53-gd, php53-cli and 19 more | 0:5.3.3-1.el5_6.2 | RHSA-2012:0569 |
| Red Hat | rhel_eus:6.0 | php, php-gd, php-cli and 24 more | 0:5.3.2-6.el6_0.2 | RHSA-2012:0568 |
| Red Hat | rhel_eus:6.1 | php, php-gd, php-cli and 24 more | 0:5.3.3-3.el6_1.4 | RHSA-2012:0568 |
| Red Hat | rhel_mission_critical:5.3 | php, php-gd, php-cli and 17 more | 0:5.1.6-23.3.el5_3 | RHSA-2012:0568 |
| openSUSE | Tumbleweed | php5 | 5.6.28-1.1 | openSUSE-SU-2024:10344-1 |
| openSUSE | Tumbleweed | php7 | 7.0.14-1.4 | openSUSE-SU-2024:10290-1 |
| openSUSE | Tumbleweed | php8 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.
Red Hat rates this Critical.
This flaw did not affect the versions of PHP in Red Hat Enterprise Linux 3 or 4. Updates were released for Red Hat Enterprise Linux 5 and 6 (RHSA-2012:0546, RHSA-2012:0547), Red Hat Enterprise Linux 5.3 Long Life (RHSA-2012:0568), Red Hat Enterprise Linux 5.6, 6.0, and 6.1 Extended Update Support (RHSA-2012:0568, RHSA-2012:0569), and Red Hat Application Stack v2 (RHSA-2012:0570).
This flaw only affected PHP CGI configurations and it did not affect the default configuration in Red Hat Enterprise Linux 5 and 6 using the PHP module for Apache httpd to handle PHP scripts.
Note that this issue was not fixed completely the first time, which resulted in the assignment of additional related CVE identifiers - CVE-2012-2311, CVE-2012-2335, and CVE-2012-2336. Refer to the Red Hat CVE Database and the Red Hat Bugzilla for additional information on how those CVEs affect Red Hat products.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php-0:5.1.6-34.el5_8 | Fixed 2012-05-07 | RHSA-2012:0546 |
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-7.el5_8 | Fixed 2012-05-07 | RHSA-2012:0547 |
| Red Hat Enterprise Linux 5.3 Long Life | php-0:5.1.6-23.3.el5_3 | Fixed 2012-05-10 | RHSA-2012:0568 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | php-0:5.1.6-27.el5_6.4 | Fixed 2012-05-10 | RHSA-2012:0568 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | php53-0:5.3.3-1.el5_6.2 | Fixed 2012-05-10 | RHSA-2012:0569 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-3.el6_2.8 | Fixed 2012-05-07 | RHSA-2012:0546 |
| Red Hat Enterprise Linux 6.0 EUS - Server Only | php-0:5.3.2-6.el6_0.2 | Fixed 2012-05-10 | RHSA-2012:0568 |
| Red Hat Enterprise Linux 6.1 EUS - Server Only | php-0:5.3.3-3.el6_1.4 | Fixed 2012-05-10 | RHSA-2012:0568 |
| Red Hat Enterprise Linux 4 | php | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-1823.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.