Remote Code Execution Vulnerability in ThinkPHP 5.0.23 by TopThink
CVE-2018-25270

9.3CRITICAL

Key Information:

Vendor

ThinkPHP

Status
Vendor
CVE Published:
22 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2018-25270?

ThinkPHP 5.0.23 has a vulnerability that allows unauthorized attackers to execute arbitrary PHP code remotely. This occurs through the manipulation of the routing parameters, where attackers can craft specific requests targeting the index.php endpoint. By supplying malicious function parameters, they can execute system commands with the privileges of the application. This vulnerability poses a significant risk as it can lead to unauthorized access and control over the affected system.

Affected Version(s)

ThinkPHP 5.0.23

ThinkPHP 5.1.31

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

VulnSpy
.