CVE-2022-3568 ImageMagick Engine <= 1.7.5 - Cross-Site Request Forgery to PHAR Deserialization

High 8.8 Published Updated

Unauthenticated attackers can achieve remote code execution via PHAR deserialization if an admin clicks a link and a file is uploaded.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-3568?

CVE-2022-3568 is a high-severity unsafe deserialization vulnerability in rickardw ImageMagick Engine, published on 9 Feb 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ImageMagick Engine plugin for WordPress is vulnerable to deserialization of untrusted input via the 'cli_path' parameter in versions up to, and including 1.7.5. This makes it possible for unauthenticated users to call files using a PHAR wrapper, granted they can trick a site administrator into performing an action such as clicking on a link, that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.

Weakness: CWE-352, CWE-502

Which versions are affected by CVE-2022-3568?

It affects 1 product.

Products include Orangelab Imagemagick Engine.

How do I fix CVE-2022-3568?

No fix has been published for CVE-2022-3568 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2022-3568 being exploited?

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

Sources

Also known as GHSA-f3x8-m359-fj94.

Is CVE-2022-3568 in your software?

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

Check your SBOMs for free