CVEvulnerability
CVE-2018-25270
9.3 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-639
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 configurations
• thinkphp thinkphp (>= 5.0.0 < 5.0.23)
• thinkphp thinkphp 5.1.31
Related
Weakness · CWE (1)
- CWE-639 Authorization Bypass Through User-Controlled Key weakness
References
- https://github.com/top-think/framework/ Product
- https://thinkphp.cn Broken Link
- https://www.exploit-db.com/exploits/45978 Exploit, Third Party Advisory, VDB Entry
- https://www.vulncheck.com/advisories/thinkphp-remote-code-execution-via-invokefunction Third Party Advisory