CVE-2018-25270
ThinkPHP 5.0.23 Remote Code Execution via invokefunction
- State
- Published
- Severity
- 9.3 Critical
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Reserved
- Apr 22, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | 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 | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
Affected Products
| Product | Versions |
|---|---|
ThinkPHPThinkphp |
|
References
- ExploitDB-45978exploit
- Official Product Homepageproduct
- Product Referenceproduct
- VulnCheck Advisory: ThinkPHP 5.0.23 Remote Code Execution via invokefunctionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.