ThinkPHP is a popular Chinese PHP development framework. ThinkPHP5 framework does not strictly filter the controller name, allowing an attacker to call sensitive functions inside the ThinkPHP framework through the URL which results in getshell vulnerability.In version 5.0.23, the framework incorrectly processes the request method, allowing an attacker to call any method of the Request class, resulting in an RCE vulnerability via a specific exploit chain.
We recommend you to use forced routing mode, but not recommended to enable this mode directly in the online environment.
We suggest that you update to the latest versions in order to fix this vulnerability.