CVE-2020-27387
Last modified
CVE-2020-27387 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 18.46% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Horizontcms Project | Horizontcms | 1.0.0 | Alpha |
References
- http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.vonahi.io/whats-in-a-re-name/Exploit, Patch, Third Party Advisory
- https://github.com/rapid7/metasploit-framework/pull/14340Third Party Advisory
- https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4feePatch, Third Party Advisory
- http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.vonahi.io/whats-in-a-re-name/Exploit, Patch, Third Party Advisory
- https://github.com/rapid7/metasploit-framework/pull/14340Third Party Advisory
- https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4feePatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-27387?
How severe is CVE-2020-27387?
How do I fix CVE-2020-27387?
Are you affected by CVE-2020-27387?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
