Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-56145— RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

KEV EPSS 94.15% · P100
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-56145

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Craft CMS 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Craft CMS是Craft CMS开源的一套内容管理系统(CMS)。 Craft CMS 5.0.0-RC1版本至5.5.2之前版本和4.0.0-RC版本至4.13.2之前版本存在代码注入漏洞,该漏洞源于php.ini配置的register_argc_argv选项被启用时,会出现未指定的远程代码执行向量。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

VendorProductAffected VersionsCPESubscribe
craftcmscms >= 4.0.0-RC1, < 4.13.2 -

II. Public POCs for CVE-2024-56145

#POC DescriptionSource LinkShenlong Link
1Unauthenticated RCE on CraftCMS when PHP `register_argc_argv` config setting is enabledhttps://github.com/Chocapikk/CVE-2024-56145POC Details
2CVE-2024-56145 SSTI to RCE - twig templates https://github.com/Sachinart/CVE-2024-56145-craftcms-rcePOC Details
3A POC lab environment for CVE-2024-56145 CraftCMS RCE.https://github.com/hmhlol/craft-cms-RCE-CVE-2024-56145POC Details
4This template identifies a critical Remote Code Execution (RCE) vulnerability in Craft CMS, identified as GHSA-2p6p-9rc9-62j9. The vulnerability exists due to improper handling of the `--templatesPath` query parameter, allowing attackers to execute arbitrary code by referencing malicious Twig templates. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-56145.yamlPOC Details
5Nonehttps://github.com/Threekiii/Awesome-POC/blob/master/CMS%E6%BC%8F%E6%B4%9E/CraftCMS%20register_argc_argv%20%E8%BF%9C%E7%A8%8B%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2024-56145.mdPOC Details
6https://github.com/vulhub/vulhub/blob/master/craftcms/CVE-2024-56145/README.mdPOC Details
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56145

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-56145

No comments yet


Leave a comment