CVE-2018-20062
ThinkPHP "noneCms" Remote Code Execution Vulnerability - [Actively Exploited]
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.
INFO
Published Date :
Dec. 11, 2018, 6:29 p.m.
Last Modified :
Oct. 22, 2025, 12:16 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
ThinkPHP "noneCms" contains an unspecified vulnerability that allows for remote code execution through crafted use of the filter parameter.
Apply updates per vendor instructions.
https://nvd.nist.gov/vuln/detail/CVE-2018-20062
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
Solution
- Upgrade or patch ThinkPHP to a non-affected version.
Public PoC/Exploit Available at Github
                                            CVE-2018-20062 has a 25 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2018-20062.
                                        
| URL | Resource | 
|---|---|
| http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry | 
| https://github.com/nangge/noneCms/issues/21 | Exploit Third Party Advisory | 
| http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry | 
| https://github.com/nangge/noneCms/issues/21 | Exploit Third Party Advisory | 
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-20062 | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2018-20062 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2018-20062
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
RedArrow3.2 是一款用于渗透测试ThinkPHP 5.0.23 远程命令执行漏洞(CVE-2018-20062)的图形化工具。
Python
A daily-updated blocklist of IP addresses involved in malicious HTTP attacks that bypassed multiple security layers. Ideal for protecting web servers against probing, exploits, and bot traffic.
blocklist cybersecurity firewall security threat-intelligence malware
A daily-updated blocklist of IP addresses involved in malicious HTTP attacks that bypassed multiple security layers. Ideal for protecting web servers against probing, exploits, and bot traffic.
blocklist cybersecurity firewall security threat-intelligence
A daily-updated blocklist of IP addresses involved in malicious HTTP attacks that bypassed multiple security layers. Ideal for protecting web servers against probing, exploits, and bot traffic.
blocklist cybersecurity firewall security threat-intelligence
This repository provides a daily-updated blocklist of IPs involved in malicious HTTP activity that bypassed multiple security layers. It detects probing, exploits, and bot traffic, enhancing protection for web-facing infrastructure through proactive threat mitigation.
blocklist http malicious-traffic network-security
None
Python Lua
ThinkPHP 漏洞扫描工具
Java
An evolving how-to guide for securing a Linux server.
Shell
This reverse proxy is used to serve all the web apps on my server and is also responsible for certificate creation and renewal. It also redirects all HTTP traffic to HTTPS
Shell
Crowdsec Blacklist mirror - allows you to create a local HTTP service with an up-to-date list of harmful IP addresses
blocklist crowdsec docker docker-compose firewall security
None
CSS HTML JavaScript
DayOne: Critical Vulnerability Root Cause Analysis Platform
Python JavaScript Ruby HTML Assembly Makefile C Objective-C Shell Dockerfile
None
Go
None
Go
Data-Shield IPv4 Blocklist vise à réduire le nombre d’attaques en bloquant les adresses IP identifiées comme sources d’activités malveillantes.
botnets ddos ipv4 malware ipaddresses malicious cyber-threat-intelligence cybersecurity attack-detection dnssinkhole firewall firewall-configuration firewall-rules network network-security web webapplicationfirewall blacklist-ips blocklist
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2018-20062 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2018-20062 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Oct. 22, 2025 Action Type Old Value New Value Added Reference https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-20062 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Oct. 21, 2025 Action Type Old Value New Value Removed Reference https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-20062 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Oct. 21, 2025 Action Type Old Value New Value Added Reference https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-20062 
- 
                            Modified Analysis by [email protected]Mar. 07, 2025 Action Type Old Value New Value 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Feb. 04, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 
- 
                            Modified Analysis by [email protected]Jan. 27, 2025 Action Type Old Value New Value 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html Added Reference https://github.com/nangge/noneCms/issues/21 
- 
                            Modified Analysis by [email protected]Jul. 25, 2024 Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Removed CWE NIST CWE-20 Added CWE NIST NVD-CWE-noinfo 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Apr. 14, 2020 Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Jan. 03, 2019 Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/nangge/noneCms/issues/21 No Types Assigned https://github.com/nangge/noneCms/issues/21 Exploit, Third Party Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:a:5none:nonecms:1.3.0:*:*:*:*:*:*:* 
Vulnerability Scoring Details
Base CVSS Score: 9.8
Base CVSS Score: 7.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
94.31 }} 0.00%
score
0.99939
percentile
 
                         
                         
                         
                                             
                                            