CVE-2022-39298 Deserialization of untrusted data in MelisFront

High 7.7 Published Updated

Unauthenticated attackers can execute arbitrary PHP code via unsafe deserialization in MelisFront, 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-39298?

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

Official description

MelisFront is the engine that displays website hosted on Melis Platform. It deals with showing pages, plugins, URL rewritting, search optimization and SEO, etc. Attackers can deserialize arbitrary data on affected versions of `melisplatform/melis-front`, 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-front` >= 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-39298?

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

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

Products include Melistechnology Meliscms.

How do I fix CVE-2022-39298?

Upgrade melisplatform/melis-front 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-39298 being exploited?

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

Sources

Also known as GHSA-h479-2mv4-5c26.

Is CVE-2022-39298 in your software?

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

Check your SBOMs for free