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.
References
Link | Resource |
---|---|
http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html | Exploit 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/14340 | Third Party Advisory |
https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee | Patch Third Party Advisory |
http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html | Exploit 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/14340 | Third Party Advisory |
https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 05:21
Type | Values Removed | Values Added |
---|---|---|
References | () http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html - Exploit, Third Party Advisory, VDB Entry | |
References | () https://blog.vonahi.io/whats-in-a-re-name/ - Exploit, Patch, Third Party Advisory | |
References | () https://github.com/rapid7/metasploit-framework/pull/14340 - Third Party Advisory | |
References | () https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee - Patch, Third Party Advisory |
Information
Published : 2020-11-05 02:15
Updated : 2024-11-21 05:21
NVD link : CVE-2020-27387
Mitre link : CVE-2020-27387
CVE.ORG link : CVE-2020-27387
JSON object : View
Products Affected
horizontcms_project
- horizontcms
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type