CVE-2018-25270
published critical CVSS 4.0 · 9.3ThinkPHP 5.0.23 Remote Code Execution via invokefunction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Thinkphp | — | ThinkPHP5.0.23 · 5.1.31 | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Thinkphp | ThinkPHP | 5.0.23 (affected)5.1.31 (affected) | VulnCheck · cna |
Weaknesses
1- CWE-639 Authorization Bypass Through User-Controlled Key
References
4- Product Reference https://github.com/top-think/framework/
- Official Product Homepage https://thinkphp.cn
- ExploitDB-45978 https://www.exploit-db.com/exploits/45978
- VulnCheck Advisory: ThinkPHP 5.0.23 Remote Code Execution via invokefunction https://www.vulncheck.com/advisories/thinkphp-remote-code-execution-via-invokefunction
Provider assertions
2VulnCheck · cna
ThinkPHP 5.0.23 Remote Code Execution via invokefunction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 32f53f1a94dff269fd6aa40b5fef6fece4ac64e225449c20dc3a8526b82a4b42
- Ingested
- 23 Sep 2026, 07:44:33 UTC
- Source record
- Official CVE record