Skip to content
Threat Brief

← All advisories

CVE-2012-20007

Critical 9.3No known exploitationFix status unknown

ThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO

Record last updated

CVSS score

9.3

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.5%

Higher than 45% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-95

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
TopThinkThinkPHPfrom 2.0 up to and including 2.2Not documentedCVE Program
TopThinkThinkPHP3.0Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by VulnCheck

    Source: CVE Program (opens in a new tab)

Vendor guidance and references