{"id":"CVE-2012-20007","aliases":["EUVD-2012-6619"],"title":"ThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO","originalDescription":"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.3,"vector":"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","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.00658,"percentile":0.52927},"exploitDb":null},"affected":[],"references":[{"url":"http://web.archive.org/web/20140201221754/http://www.jb51.net:80/softjc/43550.html","type":"technical-description"},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/2-rce","type":"technical-description"},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-2-rce.yaml","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/thinkphp-2-x-3.0-lite-unauthenticated-rce-via-dispatcher-path-info","type":"third-party-advisory"}],"sources":[{"name":"nvd","at":"2026-11-21T04:30:53.022Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-20007","license":"NVD terms of use","firstSeenAt":"2026-11-18T16:30:56.945Z"},{"name":"euvd","at":"2026-11-21T05:36:55.258Z","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2012-6619","license":"ENISA","firstSeenAt":"2026-11-21T05:36:55.258Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:12.032Z","url":"https://www.cve.org/CVERecord?id=CVE-2012-20007","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T15:55:17.164Z"}],"firstSeenAt":"2026-11-18T15:55:17.164Z","publishedAt":"2026-11-18T15:35:23.000Z","modifiedAt":"2026-11-21T04:17:09.163Z"}