What’s Vulnerable › Vulnerabilities
CVE-2018-16974
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-09-12 · updated 2026-06-17
- Weakness: CWE-434
Description
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).
Affected products
- Elefantcms Elefant: before 2.0.7 — fixed in 2.0.7
How to fix
Upgrade to a fixed version: Elefantcms Elefant 2.0.7. Check the vendor advisory for mitigations.
References
- https://github.com/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0
- https://github.com/jbroadway/elefant/issues/287
- https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable
- https://github.com/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0
- https://github.com/jbroadway/elefant/issues/287
- https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable
Get alerted when CVE-2018-16974 or the next vulnerability affects your stack