Auth bypass in Thinkphp
CVE-2018-25270
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 59.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Thinkphp — versions 5.0.23, 5.1.31
Weakness classification (CWE)
References
- ExploitDB-45978 (Exploit, exploit, Third Party Advisory, VDB Entry)
- Official Product Homepage (product, Broken Link)
- Product Reference (Product, product)
- VulnCheck Advisory: ThinkPHP 5.0.23 Remote Code Execution via invokefunction (Third Party Advisory, third-party-advisory)