CVE-2018-25270

CRITICAL EPSS 54.9%
Published Apr 22, 20262mo ago · Modified Jun 17, 20262w ago
9.3 CVSS 4.0
Critical
Find Similar
Published Apr 22, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
9.3
Exploitability
Impact
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/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
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
54.9% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available

Weaknesses 1

CWE-639

Affected Products 2

VendorProductVersionRange
thinkphpthinkphp*≥5.0.0  –  <5.0.23
thinkphpthinkphp5.1.31any

References 4

  • github.com https://github.com/top-think/framework/
    Product
  • thinkphp.cn https://thinkphp.cn
    Broken Link
  • exploit-db.com https://www.exploit-db.com/exploits/45978
    ExploitThird Party AdvisoryVDB Entry
  • vulncheck.com https://www.vulncheck.com/advisories/thinkphp-remote-code-execution-via-invokefunction
    Third Party Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.