CVE-2012-20007
Critical 9.3No known exploitationFix status unknownThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 45% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-95
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| TopThink | ThinkPHP | from 2.0 up to and including 2.2 | Not documented | CVE Program |
| TopThink | ThinkPHP | 3.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- http://web.archive.org/web/20140201221754/http://www.jb51.net:80/softjc/43550.html (opens in a new tab)
- Nuclei Template (opens in a new tab)technical-description
- https://github.com/vulhub/vulhub/tree/master/thinkphp/2-rce (opens in a new tab)
- VulnCheck Advisory: ThinkPHP 2.x/3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO (opens in a new tab)third-party-advisory