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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-27379Cross Site Request Forgery (CSRF) vulnerability in Booking C…6.5
- CVE-2020-2738Vulnerability in the Siebel UI Framework product of Oracle S…4.3
- CVE-2020-27383Battle.net.exe in Battle.Net 1.27.1.12428 suffers from an el…7.8
- CVE-2020-27384The Gw2-64.exe in Guild Wars 2 launcher version 106916 suffe…7.8
- CVE-2020-27385Incorrect Access Control in the FileEditor (/Admin/Views/Fil…8.1
- CVE-2020-27386An unrestricted file upload issue in FlexDotnetCMS before v1…8.8
- CVE-2020-27388Multiple Stored Cross Site Scripting (XSS) vulnerabilities e…5.4
- CVE-2020-2739Vulnerability in the Oracle WebCenter Sites product of Oracl…7.4
- CVE-2020-27397Marital - Online Matrimonial Project In PHP version 1.0 suff…8.8
- CVE-2020-2740Vulnerability in the Oracle Access Manager product of Oracle…4.6
- CVE-2020-27402The HK1 Box S905X3 TV Box contains a vulnerability that allo…7.8
- CVE-2020-27403A vulnerability in the TCL Android Smart TV series V8-R851T0…6.5
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
