Software remote code execution disclosed.
Who is affected
Operators of the affected software versions listed in the advisory
Why it matters
CVE-2012-20007 — ThinkPHP 2.0 through 2.2 and 3.0 Lite mode contains an eval injection vulnerability in the Dispatcher PATH_INFO parsing, which uses preg_replace with the /e modifier and a double-quoted replacement. Unauthenticated attackers can send crafted requests to index.php with a malicious 's' parameter containing PHP expressions to execute arbitrary code on the server. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
- Severity: CVSS 9.8 Critical
Recommended action
- Apply the vendor fix for the listed versions (including: 2.2 and 3.0 Lite mode contains an eval in).
- Confirm whether any affected instances are internet-facing or reachable from untrusted networks.
- After patching, review logs for suspicious access tied to this vulnerability.