What’s Vulnerable › Vulnerabilities

CVE-2018-25270: ThinkPHP 5.0.23 Remote Code Execution via invokefunction

Description

ThinkPHP 5.0.23 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by invoking functions through the routing parameter. Attackers can craft requests to the index.php endpoint with malicious function parameters to execute system commands with application privileges.

Affected products

How to fix

Upgrade to a fixed version: ThinkPHP 5.0.23. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-25270 or the next vulnerability affects your stack