2084AI 安全观察

CVE

CVE-2012-1823

CVE-2012-1823CRIT 9.8KEVEPSS 100%

CNA 原文 · 原文(英文)

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.

受影响版本

PHP 的全部漏洞 →

  • ≥ 5.4.0, < 5.4.2修复版本 5.4.2
  • < 5.3.12修复版本 5.3.12

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。