CVE-2021-24217 Facebook for WordPress < 3.0.0 - PHP Object Injection with POP Chain

High 8.1 Published Updated

An attacker can achieve remote code execution by supplying malicious PHP objects to the Facebook for WordPress plugin via unsafe deserialization.

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

What is CVE-2021-24217?

CVE-2021-24217 is a high-severity unsafe deserialization vulnerability in Unknown Facebook for WordPress, published on 12 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The run_action function of the Facebook for WordPress plugin before 3.0.0 deserializes user supplied data making it possible for PHP objects to be supplied creating an Object Injection vulnerability. There was also a useable magic method in the plugin that could be used to achieve remote code execution.

Weakness: CWE-502

Which versions are affected by CVE-2021-24217?

It affects 1 product.

Products include Facebook Facebook.

How do I fix CVE-2021-24217?

No fix has been published for CVE-2021-24217 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-2021-24217 being exploited?

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

Sources

Also known as GHSA-w6px-4fhm-xxgc.

Is CVE-2021-24217 in your software?

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

Check your SBOMs for free