Vulnerability · Published Nov 5, 2020 · Assigned by mitre
CVE-2020-27387
High 8.8
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 18.5% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit.
Official 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.
Affected products (as reported)
References
- https://github.com/rapid7/metasploit-framework/pull/14340 x_refsource_MISC
- https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee x_refsource_MISC
- https://blog.vonahi.io/whats-in-a-re-name/ x_refsource_MISC
- http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html x_refsource_MISC