{"id":"CVE-2020-27387","published":"2020-11-05T01:18:12Z","modified":"2024-08-04T16:11:36Z","title":"An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"An unrestricted file upload flaw in HorizontCMS through 1.0.0-beta, within the FileManager component, lets an attacker upload arbitrary files that can later be renamed to a PHP extension. An attacker with authenticated access to the FileManager can exploit this by uploading a PHP payload, renaming it to a .php file, and executing it with an HTTP GET request to /storage/, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-04T14:58:51Z"},"cvss":null,"epss":{"score":0.18461,"percentile":0.97304,"date":"2026-11-19","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-07-13","exploitedFirstSeen":"2025-07-13","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-07-13&host_type=src&vulnerability=cve-2020-27387","date":"2025-07-13"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/rapid7/metasploit-framework/pull/14340","tags":["x_refsource_MISC"]},{"url":"https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee","tags":["x_refsource_MISC"]},{"url":"https://blog.vonahi.io/whats-in-a-re-name/","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2020-19899","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-19899","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"HorizontCMS Arbitrary PHP File Upload","module":"exploit/multi/http/horizontcms_upload_exec","type":"exploit","disclosureDate":"2020-09-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/horizontcms_upload_exec.rb"}],"first":{"date":"2020-09-24","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/horizontcms_upload_exec.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html"],"flow":[],"timeline":[{"date":"2020-09-24","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/horizontcms_upload_exec.rb","provenance":"source"},{"date":"2020-11-05","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-27387","provenance":"source"},{"date":"2025-07-13","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-07-13&host_type=src&vulnerability=cve-2020-27387","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":59.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 495 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.46,"detail":"percentile 0.9730"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2020-27387-family-cve-2020-27387","children":[{"from":"CVE-2020-27387","to":"CVE-2021-28428","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/Controllers/FileManagerController.php"],"commits":["https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee","https://github.com/ttimot24/HorizontCMS/commit/9c4d6827cbe96decec6834d53660e14ab2bf8838"],"basis":"shared function","functions":["fileupload","rename"]}]}]}}