CVE-2018-20062: ThinkPHP "noneCms" Remote Code Execution Vulnerability
CVE-2018-20062 is a critical-severity flaw (CVSS 9.8) affecting nonecms, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.5% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-03 |
| Published | 2018-12-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: NS-Sp4ce/thinkphp5.XRce (6 stars)
- GitHub PoC: yilin1203/CVE-2018-20062 (2 stars)
- GitHub PoC: shenhui35/RedArrow (2 stars)
- Write-up: github.com/nangge/noneCms/issues/21
- Exploit-DB: ThinkPHP - Multiple PHP Injection RCEs (Metasploit)
- Metasploit: ThinkPHP Multiple PHP Injection RCEs
- Nuclei scan template: ThinkPHP 5.0.23 - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-20062?
nonecms: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-20062 being exploited?
Yes. CVE-2018-20062 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-20062 affect?
CVE-2018-20062 affects nonecms. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2018-20062?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2020-23376 MEDIUM 6.1 DOWNGRADE NoneCMS v1.3 has a CSRF vulnerability in public/index.php/admin/nav/add.html, as demonstrated by adding a navi
- CVE-2020-23374 MEDIUM 5.4 DOWNGRADE Cross-site scripting (XSS) vulnerability in admin/article/add.html in noneCMS v1.3.0 allows remote authenticat
- CVE-2020-23373 MEDIUM 5.4 DOWNGRADE Cross-site scripting (XSS) vulnerability in admin/nav/add.html in noneCMS v1.3.0 allows remote authenticated a
- CVE-2020-23371 MEDIUM 6.1 DOWNGRADE Cross-site scripting (XSS) vulnerability in static/admin/js/kindeditor/plugins/multiimage/images/swfupload.swf
- CVE-2020-18647 HIGH 7.5 DOWNGRADE Information Disclosure in NoneCMS v1.3 allows remote attackers to obtain sensitive information via the compone