CVE-2018-16974 Elefant CMS Code Execution Vulnerability
Attackers can execute arbitrary PHP code by uploading malicious files after removing .htaccess restrictions in Elefant CMS.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16974?
CVE-2018-16974 is a critical vulnerability in n/a, published on 12 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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).
Weakness: CWE-434
Which versions are affected by CVE-2018-16974?
2 open source packages ship an affected version, including elefant/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
elefant/cms Packagist | All versions | 2.0.7 |
elefant/cms Packagist | All versions | 2.0.7 |
Products include Elefantcms Elefant.
How do I fix CVE-2018-16974?
Upgrade elefant/cms to 2.0.7 or later.
Is CVE-2018-16974 being exploited?
There is no known exploitation of CVE-2018-16974 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-77j2-7whr-6vpx.