StraitOfVuln
Latest / CVE-2012-20007

CVE-2012-20007

CriticalCVSS 9.8 (v3.1)Received
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2012-20007
Published / updated
18 Nov 2026, 16:17 UTC · last modified 21 Nov 2026, 04:17 UTC
Severity
CRITICAL
CVSS score
9.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
TopThink
Affected products
ThinkPHP
Affected versions
ThinkPHP: 2.0 to 2.2, 3.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.66% probability of exploitation in the next 30 days · 53% percentile (02 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com