Code Injection Vulnerability in ThinkPHP 5.0.0-5.0.23
CVE-2019-25782
Key Information:
Badges
What is CVE-2019-25782?
ThinkPHP versions 5.0.0 through 5.0.23 are susceptible to a code injection vulnerability that can be exploited by unauthenticated attackers. By manipulating the POST data to include _method=__construct, attackers can overwrite the Request filter property, enabling them to send specially crafted POST requests to vulnerable endpoints such as ?s=captcha or ?s=index/index/index. This enables the execution of arbitrary system commands on the server, posing a significant risk to the integrity and security of the affected applications. Exploitation of this vulnerability was reported by the Shadowserver Foundation on October 14, 2023.
Affected Version(s)
ThinkPHP 5.0.0 < 5.0.24
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
