Description
An issue was discovered in NoneCms V1.3. thinkphp/library/think/App.php allows remote attackers to execute arbitrary PHP code via crafted use of the filter parameter, as demonstrated by the s=index/\think\Request/input&filter=phpinfo&data=1 query string.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ThinkPHP Multiple PHP Injection RCEs
exploit/unix/webapp/thinkphp_rce
Exploit-DB 1
- ThinkPHP - Multiple PHP Injection RCEs (Metasploit) EDB-48333 · remote · Apr 16, 2020 · verified
GitHub 5 repositories
-
NS-Sp4ce/thinkphp5.XRce ★ 6 · Mar 17, 2019
thinkphp5.*Rce CVE-2018-20062
-
shenhui35/RedArrow ★ 2 · Sep 16, 2025
RedArrow3.2 是一款用于渗透测试ThinkPHP 5.0.23 远程命令执行漏洞(CVE-2018-20062)的图形化工具。
-
yilin1203/CVE-2018-20062 ★ 2 · Nov 7, 2022
-
Jasper2018/CVE-2018-20062 ★ 0 · Sep 10, 2026
-
0xRar/ThinkPHP5_RCE ★ 0 · Oct 18, 2022
ThinkPHP 5.0.23 RCE Vulnerability PoC - CVE-2018-20062
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- ThinkPHP 5.0.23 - Remote Code Execution http/cves/2018/CVE-2018-20062.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.