CVE-2018-20062: Remote Code Execution in NoneCMS and ThinkPHP
- Vendor
- 5none
CVE-2018-20062 is a remote code execution vulnerability affecting NoneCMS 1.3 through its embedded ThinkPHP framework, with vulnerable ThinkPHP 5.x applications also affected. Crafted HTTP requests manipulate request routing and the filter parameter to invoke attacker-selected PHP functions through the framework's request-input processing. Successful exploitation allows arbitrary PHP execution in the web application's security context. The vulnerability has been exploited to deploy web shells, cryptocurrency miners, and botnet malware.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote attackers can compromise the affected application and access or modify data available to its runtime account. Arbitrary PHP execution can enable operating-system command execution where permitted by the PHP configuration and account privileges. Observed exploitation includes Dama web shell deployment and use by Kinsing, Mirai variants, Hide 'N Seek, and Enemybot. System-wide compromise and lateral movement depend on the application's privileges and access to other resources.
Mitigation
If you can’t patch tonight, do this now.
Until an upgrade is possible, restrict access to affected applications using network access controls or an authenticated reverse proxy, and apply WAF rules targeting ThinkPHP routing and filter-parameter exploitation. Run the application with least privilege and restrict unnecessary outbound connections to reduce post-exploitation capabilities. These controls do not replace remediation.
Remediation
Patch, then assume compromise.
Upgrade affected ThinkPHP installations to a current, supported release that addresses the vulnerability. For NoneCMS and other applications bundling ThinkPHP, update or replace the application and its embedded framework rather than leaving a vulnerable bundled copy in place. An exact minimum fixed version is not established by the available information. Previously exposed systems should also be investigated for web shells and other compromise artifacts, since upgrading does not remove an existing infection.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-20062 exploited in the wild?
- Yes. As of Nov 20, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2018-20062?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2018-20062, the earliest disclosed Dec 10, 2018.
- Is there a patch for CVE-2018-20062?
- Upgrade affected ThinkPHP installations to a current, supported release that addresses the vulnerability. For NoneCMS and other applications bundling ThinkPHP, update or replace the application and its embedded framework rather than leaving a vulnerable bundled copy in place.
- What products are affected by CVE-2018-20062?
- 5none Nonecms.
- How severe is CVE-2018-20062?
- CVE-2018-20062 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.5% (100th percentile) as of Nov 20, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.