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

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2022-47945 β€” AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: ThinkPHP Framework < 6.0.14 has a **Path Traversal/LFI** flaw.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: The `lang` parameter is not sanitized when **Language Pack Feature** (`lang_switch_on=true`) is enabled.…

Q3Who is affected? (Versions/Components)

🎯 **Affected**: ThinkPHP Framework versions **before 6.0.14**. πŸ“¦ **Component**: Core framework logic handling language switching. πŸ“… **Vendor**: Top Think Information Technology. πŸ‡¨πŸ‡³

Q4What can hackers do? (Privileges/Data)

πŸ’» **Privileges**: **Remote Code Execution (RCE)**. πŸ—‘οΈ **Data**: Full control over the underlying OS.…

Q5Is exploitation threshold high? (Auth/Config)

πŸ”“ **Threshold**: **Low/Medium**. βœ… **Auth**: Unauthenticated. πŸ“ **Config**: Requires `lang_switch_on=true` to be enabled in the application config. 🌐 **Network**: Remote exploitation possible. πŸš€

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

πŸ”₯ **Exploit**: **Yes**. πŸ“„ **PoC**: Public Nuclei template available on GitHub. 🌍 **Status**: Known technique (using `pearcmd.php`) demonstrated.…

Q7How to self-check? (Features/Scanning)

πŸ” **Check 1**: Verify ThinkPHP version (< 6.0.14). πŸ“ **Check 2**: Look for `lang_switch_on=true` in config. πŸ§ͺ **Scan**: Use Nuclei template `CVE-2022-47945.yaml`. πŸ› οΈ **Tool**: ProjectDiscovery Nuclei. πŸ“‘

Q8Is it fixed officially? (Patch/Mitigation)

βœ… **Fixed**: Yes. πŸ“¦ **Patch**: Upgrade to **ThinkPHP 6.0.14** or later. πŸ”— **Commit**: See official GitHub commit `c4acb8b`. πŸ”„ **Action**: Immediate update recommended. πŸ›‘οΈ

Q9What if no patch? (Workaround)

🚫 **Workaround**: Disable language switching by setting `lang_switch_on=false` in config. 🧱 **Mitigation**: Block external access to `lang` parameter if possible. πŸ›‘ **Note**: Not a permanent fix; patching is superior. ⏳

Q10Is it urgent? (Priority Suggestion)

🚨 **Priority**: **CRITICAL**. πŸ”΄ **Urgency**: High. ⚑ **Reason**: Unauthenticated RCE with public PoC. πŸƒ **Action**: Patch immediately to prevent server compromise. πŸ†˜