CVE-2019-25782 TopThink · ThinkPHP
9.8 Critical
AI summary
ThinkPHP 5.0.0 before 5.0.24 has a code injection flaw letting remote unauthenticated attackers execute arbitrary system commands. Exploitation observed by Shadowserver since 2023-10-14; critical (CVSS 9.8), upgrade to 5.0.24 or later.
Official 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.
- Published
- 2026-11-18 16:17 UTC
- Modified
- 2026-11-18 18:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 2.20% (percentile 83)
- ENISA EUVD
- EUVD-2019-20219
- CWE
- CWE-470
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml - github.com
https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003 - github.com
https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce - packetstorm.news
https://packetstorm.news/files/id/157218/ - www.exploit-db.com
https://www.exploit-db.com/exploits/46150 - www.vulncheck.com
https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php - www.vulncheck.com
https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php