Arbitrary file upload in Horizontcms Project

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 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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.185 (96.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-27387?
CVE-2020-27387 is a high-severity vulnerability in Horizontcms Project, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2020-11-05.
How severe is CVE-2020-27387?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2020-27387 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.