CVE-2018-25270
CRITICAL EXPLOITEDThinkPHP 5.0.23 Remote Code Execution via invokefunction
Title source: cnaExploitation Summary
CVE-2018-25270 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including VulnSpy.
AI-analyzed exploit summary This exploit leverages a method invocation vulnerability in ThinkPHP 5.x to execute arbitrary commands via the `call_user_func_array` function. The crafted URL passes a system command (`php -r 'phpinfo();'`) through the `vars` parameter, demonstrating remote code execution.
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.
Exploits (1)
This exploit leverages a method invocation vulnerability in ThinkPHP 5.x to execute arbitrary commands via the `call_user_func_array` function. The crafted URL passes a system command (`php -r 'phpinfo();'`) through the `vars` parameter, demonstrating remote code execution.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H