CVE-2018-25270 PUBLISHED

ThinkPHP 5.0.23 Remote Code Execution via invokefunction

Assigner: VulnCheck
Reserved: 22.04.2026 Published: 22.04.2026 Updated: 22.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor Thinkphp
Product ThinkPHP
Versions
  • Version 5.0.23 is affected
  • Version 5.1.31 is affected

Credits

  • VulnSpy finder

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE