Vulnerability record · CVE-2018-20062 · published 11 December 2018
CVE-2018-20062: NoneCms filter parameter remote PHP code execution
55none · Nonecms
NoneCms V1.3 mishandles the filter parameter in thinkphp/library/think/App.php, letting remote attackers run arbitrary PHP code. The flaw is trivially reachable over HTTP and carries a critical CVSS score of 9.8, so any exposed instance is at serious risk.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated remote code execution with a 9.8 CVSS score, KEV listing, and near-maximum EPSS probability makes this an urgent patch-or-isolate case.
What it is
NoneCms V1.3 mishandles the filter parameter in thinkphp/library/think/App.php, letting remote attackers run arbitrary PHP code. The flaw is trivially reachable over HTTP and carries a critical CVSS score of 9.8, so any exposed instance is at serious risk.
Impact
An unauthenticated attacker can execute arbitrary PHP code on the server, leading to full compromise of the application and its host. This can expose data, allow persistence, and enable lateral movement.
Attack surface
Reached over the network via a crafted query string such as s=index/\think\Request/input&filter=phpinfo&data=1. No authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).
Exploitation
CISA added it to KEV in November 2021, and EPSS shows a 30-day probability of 0.9953 (99.9th percentile). Public exploit references exist, though no ransomware campaign use is documented.
What to do
- Apply the vendor update for NoneCms/ThinkPHP as instructed by CISA's required action.
- If patching is not immediately possible, remove or restrict public access to the affected application.
- Block or filter requests containing suspicious filter parameters at the WAF or reverse proxy.
- Run the application with least privilege and disable unnecessary PHP functions.
- Monitor for and remove any web shells or unexpected files after suspected exposure.
Detection
- Search web logs for requests containing 'filter=' combined with 'think\Request/input' or similar patterns.
- Alert on outbound connections or process creation from the web server user that are unusual for the application.
- Scan the web root for newly created or modified PHP files that do not match known deployments.
- Review PHP error logs for execution attempts involving the filter parameter.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2018-20062 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "ThinkPHP "noneCms" Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 3 May 2022.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/nangge/noneCms/issues/21 | ExploitThird Party Advisory |
| http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/nangge/noneCms/issues/21 | ExploitThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-20062 | US Government Resource |
Track CVE-2018-20062 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-20062), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.