Vulnerability record · CVE-2020-27387 · published 5 November 2020
CVE-2020-27387: Horizontcms project horizontcms unrestricted file upload vulnerability
HHorizontcms Project · Horizontcms
An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with access to the FileManager) to upload and execute arbitrary PHP code by uploading a PHP payload, and then using the FileManager's rename function to provide the payload (which will receive a random name on the server) with the PHP extension, and finally executing the PHP file via an HTTP GET request to /storage/<php_file_name>. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.
Description
An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with access to the FileManager) to upload and execute arbitrary PHP code by uploading a PHP payload, and then using the FileManager's rename function to provide the payload (which will receive a random name on the server) with the PHP extension, and finally executing the PHP file via an HTTP GET request to /storage/<php_file_name>. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html | ExploitThird Party AdvisoryVDB Entry |
| https://blog.vonahi.io/whats-in-a-re-name/ | ExploitPatchThird Party Advisory |
| https://github.com/rapid7/metasploit-framework/pull/14340 | Third Party Advisory |
| https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee | PatchThird Party Advisory |
| http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html | ExploitThird Party AdvisoryVDB Entry |
| https://blog.vonahi.io/whats-in-a-re-name/ | ExploitPatchThird Party Advisory |
| https://github.com/rapid7/metasploit-framework/pull/14340 | Third Party Advisory |
| https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee | PatchThird Party Advisory |
Track CVE-2020-27387 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-27387), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.