CVE-2020-27387
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 18.5%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 18.46% probability · 97th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-434
- Affected
- horizontcms project/horizontcms
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.