Vulnerability record · CVE-2018-25270 · published 22 April 2026
CVE-2018-25270: Thinkphp insecure direct object reference vulnerability
Thinkphp · Thinkphp
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.
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.
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:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/top-think/framework/ | Product |
| https://thinkphp.cn | Broken Link |
| https://www.exploit-db.com/exploits/45978 | ExploitThird Party AdvisoryVDB Entry |
| https://www.vulncheck.com/advisories/thinkphp-remote-code-execution-via-invokefunction | Third Party Advisory |
Track CVE-2018-25270 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-25270), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.