Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Horizontcms Project | Horizontcms | 1.0.0 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.ExploitThird Party AdvisoryVDB Entry
- https://blog.vonahi.io/whats-in-a-re-name/ExploitPatchThird Party Advisory
- https://github.com/rapid7/metasploit-framework/pull/14340Third Party Advisory
- https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe10311PatchThird Party Advisory
- http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.ExploitThird Party AdvisoryVDB Entry
- https://blog.vonahi.io/whats-in-a-re-name/ExploitPatchThird Party Advisory
- https://github.com/rapid7/metasploit-framework/pull/14340Third Party Advisory
- https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe10311PatchThird Party Advisory
FAQ
What is CVE-2020-27387?
CVE-2020-27387 is a vulnerability with a CVSS score of 8.8 (HIGH). 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...
How severe is CVE-2020-27387?
CVE-2020-27387 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-27387?
Check the references section above for vendor advisories and patch information. Affected products include: Horizontcms Project Horizontcms.