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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 18 Nov 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | ThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO | |
| First Time appeared |
Thinkphp
Thinkphp thinkphp |
|
| Weaknesses | CWE-95 | |
| CPEs | cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:3.0:*:*:*:*:*:*:* |
|
| Vendors & Products |
Thinkphp
Thinkphp thinkphp |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-18T15:35:23.052Z
Reserved: 2026-11-11T16:45:15.718Z
Link: CVE-2012-20007
No data.
Status : Received
Published: 2026-11-18T16:17:47.560
Modified: 2026-11-18T16:17:47.560
Link: CVE-2012-20007
No data.
OpenCVE Enrichment
Updated: 2026-11-18T17:15:22Z
Weaknesses