CVE-2018-16974 Elefant CMS Code Execution Vulnerability

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
elefant/cms PackagistAll versions2.0.7
elefant/cms PackagistAll versions2.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.

Sources

Also known as GHSA-77j2-7whr-6vpx.

Is CVE-2018-16974 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free