CVE-2019-25782
Critical 9.3No known exploitationFix availableThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 53% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability that allows unauthenticated attackers to execute commands by setting _method=__construct in POST data to overwrite the Request filter property. Attackers can send POST requests to endpoints reached via ?s=captcha or ?s=index/index/index with filter[]=system and server[REQUEST_METHOD] values to execute arbitrary system commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
Weakness: CWE-470
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| TopThink | ThinkPHP | from 5.0.0 before 5.0.24 | 5.0.24 | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)
Vendor guidance and references
- Fix Commit (opens in a new tab)patch
- Nuclei Template (opens in a new tab)technical-description
- https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce (opens in a new tab)
- VulnCheck Advisory: ThinkPHP 5.0.0-5.0.23 RCE via _method construct in Request.php (opens in a new tab)third-party-advisory
- VulnCheck Advisory: ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php (opens in a new tab)third-party-advisory