sadrobot

← Back to the monthly list

CVE-2012-20007 TopThink · ThinkPHP

9.8 Critical

AI summary

ThinkPHP 2.0 through 2.2 and 3.0 Lite mode contain an eval injection in Dispatcher PATH_INFO parsing, letting remote unauthenticated attackers execute arbitrary code on the server. Exploitation observed by Shadowserver since 2023-10-14; critical (CVSS 9.8).

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

Published
2026-11-18 16:17 UTC
Modified
2026-11-21 04:17 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.66% (percentile 46)
ENISA EUVD
EUVD-2012-6619
CWE
CWE-95

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References