CVE-2012-20007
- Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
- VulnCheck (opens in new tab)
- Published
- Last modified
- NVD statusWhether NVD has reviewed the record. Until it has, scores and product data come from the reporting organization alone. About NVD's statuses
- Received
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.
Exploitation
Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.
FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)
FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.
- Probability of exploitationIt predicts attempts, not success, and is updated daily.
- 0.526%
- Compared with other CVEs
- At or above 45.321% of scored CVEs
- Scored
Affected products
The products and versions with the vulnerability.
Listed by CNA
The products and versions affected, according to the organization that published this CVE.
| Vendor | Product | Affected versions |
|---|---|---|
| TopThink | ThinkPHP |
|
Severity
How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).
- 9.8 CriticalCVSS 3.1 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by VulnCheck (opens in new tab)
- Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
- Network
- Attack complexityWhether the attack depends on conditions the attacker doesn't control.
- Low
- Privileges requiredThe access the attacker needs before attacking.
- None
- User interactionWhether someone other than the attacker has to do something, like open a link.
- None
- ScopeWhether the attack can reach beyond the vulnerable component.
- Unchanged
- ConfidentialityHow much data the attacker can read.
- High
- IntegrityHow much data the attacker can change.
- High
- AvailabilityHow much the attacker can disrupt the system or service.
- High
CVSS:3.1/View in FIRST's calculator (opens in new tab)AV:N/ AC:L/ PR:N/ UI:N/ S:U/ C:H/ I:H/ A:H - 9.3 CriticalCVSS 4.0 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by VulnCheck (opens in new tab)
- Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
- Network
- Attack complexityWhether the attack depends on conditions the attacker doesn't control.
- Low
- Attack requirementsWhether the attack depends on how the target is deployed or configured.
- None
- Privileges requiredThe access the attacker needs before attacking.
- None
- User interactionWhether someone other than the attacker has to do something, like open a link.
- None
- ConfidentialityHow much data the attacker can read.
- High
- IntegrityHow much data the attacker can change.
- High
- AvailabilityHow much the attacker can disrupt the system or service.
- High
- Confidentiality, other systemsThe impact on other systems that depend on the vulnerable one.
- None
- Integrity, other systemsThe impact on other systems that depend on the vulnerable one.
- None
- Availability, other systemsThe impact on other systems that depend on the vulnerable one.
- None
CVSS:4.0/View in FIRST's calculator (opens in new tab)AV:N/ AC:L/ AT:N/ PR:N/ UI:N/ VC:H/ VI:H/ VA:H/ SC:N/ SI:N/ SA:N
Weaknesses and attack patterns
The type of bug behind the vulnerability, and how attackers exploit that type.
Improper Neutralization of Directives in Dynamically Evaluated Code · CWE-95 (opens in new tab)
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
- Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
- Medium
- AbstractionHow specific this weakness type is in MITRE's hierarchy, from broad pillars to specific variants. About MITRE's abstractions
- Variant
- Mapping guidanceWhether MITRE recommends citing this weakness type for a single vulnerability. Broad types are discouraged in favor of more specific ones. About MITRE's mapping guidance
- Allowed
- Part ofThe broader weakness types this one belongs to. About MITRE's hierarchy
References
Advisories, patches, exploits and more about this vulnerability.
- View on NVD (opens in new tab)Last changed
- View on CVE.org (opens in new tab)Last changed
This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data