CVE-2012-20007: ThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO
TopThink · ThinkPHP
No fix listed · Affected: TopThink ThinkPHP · Exploitation: not established
At a glance
Higher than 45% of scored CVEs
What it isNVD
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.
ExploitationNot established
Not in CISA KEV as of catalogue 2026.11.18 (18 Nov)
- Not establishedNothing in the sources we check
Not seen so far: in CISA KEV · exploited (reported) · scanning observed · proof of concept public.
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- Improper Neutralization of Directives in Dynamically Evaluated Code · Command and Code Injection
Other CVEs in ThinkPHP
Every published CVE for TopThink ThinkPHP, by how far exploitation has gone. This one is among them.
CoverageNo articles yet
No CyberSIXT article names CVE-2012-20007 yet. New articles appear here and in the RSS feed.