CVE-2019-25782: critical vulnerability in TopThink ThinkPHP
ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
70Vexday Risk Score
Prioritize patching. It exploitation observed in the wild and has a public proof of concept.
ssvc Actcvss 9.3epss 0.7%
from disclosure to weapon
Published on NVDNov 18
Observed exploitationNov 18
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
TopThink · ThinkPHPpublic PoCs found — 3
cve_referencegithub.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rceunverifiedcve_referencepacketstorm.news/files/id/157218/unverifiedcve_referencewww.exploit-db.com/exploits/46150unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — TopThink ThinkPHP
In the same product, most dangerous first.
References
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yamlhttps://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rcehttps://packetstorm.news/files/id/157218/https://www.exploit-db.com/exploits/46150