CVE-2012-20007
ThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO
Critical · 9.3
- CVSS
- 9.3
- EPSS
- 0.66% (p53)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-21
- Product
- TopThink ThinkPHP
- Aliases
- EUVD-2012-6619
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Sources
- NVD · first seen 18d ago · NVD terms of use
- ENISA EUVD · first seen 15d ago · ENISA
- CVE List · first seen 18d ago · CVE Terms of Use
References
- http://web.archive.org/web/20140201221754/http://www.jb51.net:80/softjc/43550.html technical-description
- https://github.com/vulhub/vulhub/tree/master/thinkphp/2-rce technical-description
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-2-rce.yaml technical-description
- https://www.vulncheck.com/advisories/thinkphp-2-x-3.0-lite-unauthenticated-rce-via-dispatcher-path-info third-party-advisory