CVE-2019-25782
CVE-2019-25782 — ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php
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.
Published Updated Sources: cvelistV5, VulnCheck
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
2%
chance of exploitation in 30 days
CVSS base
9.8
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-470
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /index/index.
References
7 on the record
- github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003
patch
- github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce
technical-description, exploit
- www.exploit-db.com/exploits/46150
exploit
- packetstorm.news/files/id/157218/
exploit
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml
technical-description
- www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php
third-party-advisory
- www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php
third-party-advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2019-9082 ThinkPHP Remote Code Execution VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2026-90436 Apache Axis 1.x (EOL): unauthenticated remote class instantiation via SOAP fault exceptionNameCVSS 9.8 · CISA KEV
- CVE-2021-21985 VMware vCenter Server Improper Input Validation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-82078 PaperCut MF/NG: Unsafe Dynamic Class Loading in Database ConnectorCVSS 9.1 · CISA KEV
- CVE-2026-93762 Data deletion and attribute disclosure via field-name method injection in in-memory queriesCVSS 9.8
- CVE-2026-93765 Document deletion and process crash via unvalidated method-name dispatch in atomic pop operationCVSS 9.1
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.