CVE-2022-39297 Deserialization of untrusted data in MelisCms

High 7.7 Published Updated

Unauthenticated attackers can execute arbitrary PHP code via unsafe deserialization in MelisCms, requiring an immediate upgrade.

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

What is CVE-2022-39297?

CVE-2022-39297 is a high-severity unsafe deserialization vulnerability in melisplatform melis-cms, published on 12 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

MelisCms provides a full CMS for Melis Platform, including templating system, drag'n'drop of plugins, SEO and many administration tools. Attackers can deserialize arbitrary data on affected versions of `melisplatform/melis-cms`, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication. Users should immediately upgrade to `melisplatform/melis-cms` >= 5.0.1. This issue was addressed by restricting allowed classes when deserializing user-controlled data.

Weakness: CWE-502

Which versions are affected by CVE-2022-39297?

2 open source packages ship an affected version, including melisplatform/melis-cms. It affects 1 product.

PackageAffectedFixed in
melisplatform/melis-cms PackagistAll versions5.0.1
melisplatform/melis-cms PackagistAll versions5.0.1

Products include Melistechnology Meliscms.

How do I fix CVE-2022-39297?

Upgrade melisplatform/melis-cms to 5.0.1 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2022-39297 being exploited?

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

Sources

Also known as GHSA-m3m3-6gww-7gj9.

Is CVE-2022-39297 in your software?

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

Check your SBOMs for free