Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2024-56145 β€” AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Craft CMS suffers from **Remote Code Execution (RCE)** via improper handling of the `--templatesPath` query parameter.…

Q2Root Cause? (CWE/Flaw)

πŸ” **Root Cause**: The flaw stems from **CWE-94 (Code Injection)**. Specifically, it exploits the PHP configuration `register_argc_argv` being enabled.…

Q3Who is affected? (Versions/Components)

πŸ“¦ **Affected Versions**: - Craft CMS **5.0.0-RC1** up to **5.5.2** (before 5.5.2). - Craft CMS **4.0.0-RC** up to **4.13.2** (before 4.13.2). 🏒 **Vendor**: CraftCMS.

Q4What can hackers do? (Privileges/Data)

πŸ’» **Attacker Capabilities**: - **Privileges**: Full **Remote Code Execution (RCE)** as the web server user. - **Data**: Access to all database contents, user credentials, and server files.…

Q5Is exploitation threshold high? (Auth/Config)

βš–οΈ **Exploitation Threshold**: - **Auth**: **Unauthenticated**. No login required. πŸ”“ - **Config**: Requires `register_argc_argv` to be **enabled** in `php.ini`. This is often default in some environments but not all. πŸ› οΈ

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ”₯ **Public Exploits**: **YES**. Multiple PoCs are available on GitHub (e.g., by Chocapikk, Sachinart). Automated scanning templates exist in Nuclei. Wild exploitation is highly likely due to ease of use. πŸš€

Q7How to self-check? (Features/Scanning)

πŸ”Ž **Self-Check**: - Use **Nuclei** with the CVE-2024-56145 template. - Check if `register_argc_argv` is On in PHP config. - Scan for Craft CMS versions listed above.…

Q8Is it fixed officially? (Patch/Mitigation)

πŸ›‘οΈ **Official Fix**: **YES**. A patch was released. See GitHub Advisory GHSA-2p6p-9rc9-62j9 and commit `82e893fb794d30563da296bca31379c0df0079b3`. Update to the latest stable version immediately. βœ…

Q9What if no patch? (Workaround)

🚧 **Workaround (If No Patch)**: 1. Disable `register_argc_argv` in `php.ini` (set to Off). 2. Restrict access to the `--templatesPath` parameter if possible. 3.…

Q10Is it urgent? (Priority Suggestion)

🚨 **Urgency**: **CRITICAL**. - Unauthenticated RCE. - Public PoCs available. - Affects major CMS versions. - Immediate patching or mitigation is required. Do not delay! ⏳