Arbitrary file upload in Elefantcms Elefant

CVE-2018-16974

An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in apps/filemanager/upload/drop.php by using /filemanager/api/rm/.htaccess to remove the .htaccess file, and then using a filename that ends in .php followed by space characters (for bypassing the blacklist).

Vulnerability class: Unrestricted File Upload

EPSS: 0.036 (88.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/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-2018-16974?
CVE-2018-16974 is a critical-severity vulnerability in Elefantcms Elefant, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2018-09-12.
How severe is CVE-2018-16974?
Critical severity. CVSS v3 base score is 9.8 out of 10.