InfraGuard

CVE-2024-56145

RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

9.3 CVSS 4.0 已遭在野利用EPSS 97.5%

问题所在

当启用 PHP `register_argc_argv` 配置设置时,Craft CMS 存在一个未明述的远程代码执行漏洞。远程攻击者可以利用此途径在目标服务器上执行任意代码。

影响范围

此问题影响在 `php.ini` 中启用了 `register_argc_argv` 的 Craft CMS 安装。具体而言,低于 3.9.14 的 3.x 版本、低于 4.13.2 的 4.x 版本以及低于 5.5.2 的 5.x 版本受影响。

应对措施

将 Craft CMS 更新至版本 3.9.14、4.13.2 或 5.5.2。如果无法立即升级,请在 `php.ini` 配置中禁用 `register_argc_argv` 以降低风险。

原始描述

Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has `register_argc_argv` enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 3.9.14, 4.13.2, or 5.5.2. Users unable to upgrade should disable `register_argc_argv` to mitigate the issue.

已知被利用(CISA KEV)

加入 KEV 日期
2025-06-02
修复期限(美国联邦机构)
2025-06-23
用于勒索软件
Unknown
要求采取的措施
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

受影响的软件

详情

发布日期
2024-12-19
最后修改
2025-10-22
CVSS 向量
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CWE
CWE-94
EPSS(30 天内被利用概率)
97.48% (百分位 100)

参考资料

在您自己的服务器上追踪这些版本

InfraGuard 从每台服务器收集已安装软件的版本,并标出存在已知漏洞的版本。自托管部署——数据不会离开您的网络。

每周已被利用漏洞摘要

每周一次,推送与自托管服务器相关的 KEV 新增条目。不发送其他邮件。

本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。