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.
結論預警: CVE-2012-1823 綜合評估為嚴重在野威脅(100/100):CVSS 技術影響為嚴重級,利用機率偏高(EPSS 100.00%,百分位 100%) 核心證據: CISA 已知被利用漏洞目錄(KEV)已於 2022-03-25 確認在野利用,影響 PHP / PHP,弱點類型(CWE-77),攻擊者可能未經認證遠端取得高權限管理存取。 近一日 EPSS 上升 +5.61%,被利用關注度持續升高。 強制指令: CISA 處置期限已過,應以應急修補優先立即處理。
風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。
: PHP-CGI Query String Parameter Vulnerability · CISA KEV 詳情
: 2022-03-25
: 2022-04-15
: Apply updates per vendor instructions.
| EDB-ID | 來源 | 類型 | 公開時間 | 連結 |
|---|---|---|---|---|
| 29316 | exploit_db | edb | 2013-10-31 | Exploit-DB ↗ |
| 29290 | exploit_db | edb | 2013-10-29 | Exploit-DB ↗ |
| 18836 | exploit_db | edb | 2012-05-05 | Exploit-DB ↗ |
| 18834 | exploit_db | edb | 2012-05-04 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。
| # | 日期 | 舊 EPSS 分數 | 新 EPSS 分數 | 變化(新 − 舊) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 94.39% | 100.00% | +5.61% |
| 2 | 2025-12-28 | 94.35% | 94.39% | +0.04% |
| 3 | 2025-12-27 | — | 94.35% | — |
完整 EPSS 歷史 (共 17 筆)
該 CVE 的 CVSS 指標。
| 底座分 | 版本 | 嚴重度 | 向量 | 可利用性 | 影響 | 分數來源 |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
gentoo
|
high | CVE-2012-1823: 1 GLSA(s) (201209-03), 1 atom(s) (dev-lang/php); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-1823 |
redhat
|
critical | — | https://access.redhat.com/security/cve/CVE-2012-1823 |
suse
|
critical | CVE-2012-1823 severity critical: SUSE including 644 source package names (apache2-mod_php5, apache2-mod_php5-5.2.14-0.7.30.38.1, …), 689 product×package rows across 17 product lines (SUSE Linux Enterprise Module for Web and Scripting 12, SUSE Linux Enterprise Server 11 SP1-TERADATA, … (17 product lines)): Fixed 478, Known Not Affected 211. | https://www.suse.com/security/cve/CVE-2012-1823/ |
ubuntu
|
medium | CVE-2012-1823 medium priority: Ubuntu including 1 source packages (php5), 6 status rows across 6 suites (hardy, lucid, natty, oneiric, precise, upstream): released 5, needs-triage 1. | https://ubuntu.com/security/CVE-2012-1823 |
| 廠商 | 產品 | 版本 | 原始 CPE |
|---|---|---|---|
| php | php | < 5.3.12 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| php | php | >= 5.4.0, < 5.4.2 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 39 | cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
| fedoraproject | fedora | 40 | cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
| debian | debian_linux | 6.0 | cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* |
| hp | hp-ux | b.11.23 | cpe:2.3:o:hp:hp-ux:b.11.23:*:*:*:*:*:*:* |
| hp | hp-ux | b.11.31 | cpe:2.3:o:hp:hp-ux:b.11.31:*:*:*:*:*:*:* |
| opensuse | opensuse | 11.4 | cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* |
| opensuse | opensuse | 12.1 | cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:* |
| suse | linux_enterprise_server | 10 | cpe:2.3:o:suse:linux_enterprise_server:10:sp4:*:*:-:*:*:* |
| suse | linux_enterprise_server | 11 | cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* |
| suse | linux_enterprise_server | 11 | cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:vmware:*:* |
| suse | linux_enterprise_software_development_kit | 10 | cpe:2.3:o:suse:linux_enterprise_software_development_kit:10:sp4:*:*:*:*:*:* |
| suse | linux_enterprise_software_development_kit | 11 | cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* |
| apple | mac_os_x | >= 10.6.8, < 10.7.5 | cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* |
| apple | mac_os_x | >= 10.8.0, < 10.8.2 | cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* |
| redhat | application_stack | 2.0 | cpe:2.3:a:redhat:application_stack:2.0:*:*:*:*:*:*:* |
| redhat | gluster_storage_server_for_on-premise | 2.0 | cpe:2.3:a:redhat:gluster_storage_server_for_on-premise:2.0:*:*:*:*:*:*:* |
| redhat | storage | 2.0 | cpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:* |
| redhat | storage_for_public_cloud | 2.0 | cpe:2.3:a:redhat:storage_for_public_cloud:2.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_desktop | 6.0 | cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_eus | 5.6 | cpe:2.3:o:redhat:enterprise_linux_eus:5.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_eus | 6.1 | cpe:2.3:o:redhat:enterprise_linux_eus:6.1:*:*:*:*:*:*:* |
| redhat | enterprise_linux_eus | 6.2 | cpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server | 5.0 | cpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server | 6.0 | cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_aus | 5.3 | cpe:2.3:o:redhat:enterprise_linux_server_aus:5.3:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server_aus | 5.6 | cpe:2.3:o:redhat:enterprise_linux_server_aus:5.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_workstation | 5.0 | cpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_workstation | 6.0 | cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* |