Vulnerability record · CVE-2020-27386 · published 12 November 2020
CVE-2020-27386: FlexDotnetCMS unrestricted file upload enables remote code execution
FFlexdotnetcms Project · Flexdotnetcms
FlexDotnetCMS before v1.5.9 lets an authenticated user upload a file with a safe extension (for example TXT) through the FileManager, then rename it to an executable extension (for example ASP) using the FileEditor or the FileManager rename function. The renamed file can then be executed by requesting it over HTTP. This turns a low-privileged authenticated account into arbitrary code execution on the web server.
Description
An unrestricted file upload issue in FlexDotnetCMS before v1.5.9 allows an authenticated remote attacker to upload and execute arbitrary files by using the FileManager to upload malicious code (e.g., ASP code) in the form of a safe file type (e.g., a TXT file), and then using the FileEditor (in v1.5.8 and prior) or the FileManager's rename function (in v1.5.7 and prior) to rename the file to an executable extension (e.g., ASP), and finally executing the file via an HTTP GET request to /<path_to_file>.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityThe flaw gives authenticated remote code execution with a high CVSS score and very high EPSS, though it requires valid credentials and is not in KEV.
What it is
FlexDotnetCMS before v1.5.9 lets an authenticated user upload a file with a safe extension (for example TXT) through the FileManager, then rename it to an executable extension (for example ASP) using the FileEditor or the FileManager rename function. The renamed file can then be executed by requesting it over HTTP. This turns a low-privileged authenticated account into arbitrary code execution on the web server.
Impact
An attacker with a valid account gains remote code execution under the web server's process identity, allowing full control of the application and its data. CVSS 3.1 scores this 8.8 (HIGH) with high confidentiality, integrity and availability impact.
Attack surface
Reached over the network through the CMS FileManager and FileEditor interfaces; the attacker must be authenticated (PR:L) and no user interaction is required (UI:N). The upload and rename steps are performed through normal CMS functionality, and the final payload is triggered by an HTTP GET to the uploaded file path.
Exploitation
Not listed in CISA KEV, but EPSS is very high (0.72872, 99.4th percentile) and public references include exploit write-ups and a Metasploit pull request, indicating mature public exploitation tooling. No ransomware group use is documented in the record.
What to do
- Upgrade FlexDotnetCMS to v1.5.9 or later, which the release notes identify as the fixed version.
- Restrict FileManager and FileEditor access to trusted administrative accounts and remove unused accounts.
- Enforce server-side upload validation that blocks executable extensions and prevents renaming uploaded files to executable types.
- Configure the web server to deny execution of script files in upload and content directories.
- Monitor and alert on file rename and upload events in the CMS, especially changes to executable extensions.
Detection
- Alert on HTTP requests to uploaded file paths with executable extensions such as .asp, .aspx or .ashx.
- Monitor CMS FileManager and FileEditor activity for uploads followed by renames to executable extensions.
- Watch web server logs for POST uploads and subsequent GET requests to the same file within a short window.
- Audit file system changes in upload directories for newly created executable files.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/160411/FlexDotnetCMS-1.5.8-Arbitrary-ASP-File-Upload.html | Third Party AdvisoryVDB Entry |
| https://blog.vonahi.io/whats-in-a-re-name/ | ExploitThird Party Advisory |
| https://github.com/MacdonaldRobinson/FlexDotnetCMS/releases/tag/v1.5.9 | Release NotesThird Party Advisory |
| https://github.com/rapid7/metasploit-framework/pull/14339 | ExploitPatchThird Party Advisory |
| http://packetstormsecurity.com/files/160411/FlexDotnetCMS-1.5.8-Arbitrary-ASP-File-Upload.html | Third Party AdvisoryVDB Entry |
| https://blog.vonahi.io/whats-in-a-re-name/ | ExploitThird Party Advisory |
| https://github.com/MacdonaldRobinson/FlexDotnetCMS/releases/tag/v1.5.9 | Release NotesThird Party Advisory |
| https://github.com/rapid7/metasploit-framework/pull/14339 | ExploitPatchThird Party Advisory |
Track CVE-2020-27386 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-2020-27386), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.