PT-2020-16680 · Horizontcms · Horizontcms
Erikwynter
·
Published
2020-11-05
·
Updated
2022-10-19
·
CVE-2020-27387
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
HorizontCMS versions prior to 1.0.0-beta (patched, but version number remains the same)
Description
The issue allows an authenticated remote attacker with access to the FileManager to upload and execute arbitrary PHP code. This is achieved by uploading a PHP payload, renaming it using the FileManager's rename function to provide the payload with the PHP extension, and then executing the PHP file via an HTTP GET request to "/storage/".
Recommendations
For HorizontCMS version 1.0.0-beta, update to the patched version of 1.0.0-beta to resolve the issue. As a temporary workaround, consider restricting access to the FileManager and disabling the rename function to minimize the risk of exploitation. Avoid using the FileManager to upload files with executable extensions until the issue is resolved.
Exploit
Fix
Unrestricted File Upload
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Horizontcms