{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-20007","published":"2026-11-18T16:17:47.560000Z","last_modified":"2026-11-21T04:17:09.163000Z","status":"Received","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-95"],"cpes":[],"cpes_truncated":false,"vendors":["topthink"],"products":["topthink/thinkphp"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":77,"links":{"html_es":"/es/cve/CVE-2012-20007/","html_en":"/en/cve/CVE-2012-20007/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-20007","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-20007"},"untrusted":{"vendor_name":"TopThink","product_name":"ThinkPHP","desc_en":"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.","affected":[{"untrusted_vendor":"TopThink","untrusted_product":"ThinkPHP"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"33b8b3346ddfc0b999777e8c25ba6498","generated":"2026-11-26T23:01:02.999860Z","es":{"untrusted_title":"Inyección eval sin autenticación en ThinkPHP 2.0-2.2 y 3.0 Lite","untrusted_summary":"ThinkPHP 2.0 a 2.2 y 3.0 Lite contienen una vulnerabilidad de inyección eval en el análisis de PATH_INFO del Dispatcher. Un atacante sin autenticación puede enviar solicitudes maliciosas a index.php con un parámetro 's' que contenga expresiones PHP para ejecutar código arbitrario en el servidor. La explotación fue confirmada por Shadowserver Foundation el 14 de octubre de 2023."},"en":{"untrusted_title":"Unauthenticated eval injection in ThinkPHP 2.0-2.2 and 3.0 Lite","untrusted_summary":"ThinkPHP 2.0 through 2.2 and 3.0 Lite contain an eval injection vulnerability in the Dispatcher PATH_INFO parsing. An unauthenticated attacker can send malicious requests to index.php with a crafted 's' parameter containing PHP expressions to execute arbitrary code on the server. Exploitation was confirmed by Shadowserver Foundation on October 14, 2023."},"remediation":{"status":"unknown","fixed_versions":[],"untrusted_action_es":"Actualiza ThinkPHP a una versión posterior a 3.0 Lite o aplica parches de seguridad del fabricante. Restringe el acceso a index.php y valida estrictamente el parámetro 's'.","untrusted_action_en":"Update ThinkPHP to a version after 3.0 Lite or apply security patches from the vendor. Restrict access to index.php and strictly validate the 's' parameter."},"reviewed":false},"references":[{"url":"http://web.archive.org/web/20140201221754/http://www.jb51.net:80/softjc/43550.html","tags":[]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-2-rce.yaml","tags":[]},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/2-rce","tags":[]},{"url":"https://www.vulncheck.com/advisories/thinkphp-2-x-3.0-lite-unauthenticated-rce-via-dispatcher-path-info","tags":[]}]}}