CVE-2018-18942 RCE in baserCMS before 4.1.4

High 7.2 Published Updated

Remote attackers can execute arbitrary PHP code by uploading malicious files via the theme configuration logo parameter in baserCMS.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-18942?

CVE-2018-18942 is a high-severity vulnerability in Basercms Basercms, published on 5 Nov 2018. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the admin/theme_configs/form data[ThemeConfig][logo] parameter.

Weakness: CWE-434

Which versions are affected by CVE-2018-18942?

2 open source packages ship an affected version, including baserproject/basercms. It affects 1 product.

PackageAffectedFixed in
baserproject/basercms PackagistAll versions4.1.4
baserproject/basercms PackagistAll versions4.1.4

Products include Basercms Basercms.

How do I fix CVE-2018-18942?

Upgrade baserproject/basercms to 4.1.4 or later.

Is CVE-2018-18942 being exploited?

There is no known exploitation of CVE-2018-18942 in the wild and no public exploit code.

All Basercms Basercms vulnerabilities

Sources

Also known as GHSA-rjc2-x53r-6c9r.

Is CVE-2018-18942 in your software?

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

Check your SBOMs for free