CVE-2012-20007

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.
Configurations

No configuration.

History

18 Nov 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-18 16:17

Updated : 2026-11-21 04:17


NVD link : CVE-2012-20007

Mitre link : CVE-2012-20007

CVE.ORG link : CVE-2012-20007


JSON object : View

Products Affected

No product.

CWE
CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')