Arbitrary file upload in Horizontcms Project

CVE-2021-28428

File upload vulnerability in HorizontCMS before 1.0.0-beta.3 via uploading a .htaccess and *.hello files using the Media Files upload functionality. The original file upload vulnerability (CVE-2020-27387) was remediated by restricting the PHP extensions; however, we confirmed that the filter was bypassed via uploading an arbitrary .htaccess and *.hello files in order to execute PHP code to gain RCE.

Vulnerability class: Unrestricted File Upload

EPSS: 0.012 (64.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-28428?
CVE-2021-28428 is a critical-severity vulnerability in Horizontcms Project, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2022-04-05.
How severe is CVE-2021-28428?
Critical severity. CVSS v3 base score is 9.8 out of 10.