WordPress security changelog
HIGH CVE-2021-24217 Modified

run_action function of the Facebook for: Code execution

run_action function of the Facebook for is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 8.1 CVSS · contact@wpscan.com
NVD score 8.1 CVSS 3.1 · nvd@nist.gov
Component
run_action function of the Facebook for
Plugin slug
facebook
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Apr 12, 2021
Weakness
CWE-502 — Deserialization of Untrusted Data

This CVE was published Apr 12, 2021 and is one of 2 known issues for this plugin.

Update, patch or deactivate.

Update run_action function of the Facebook for to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

NVD vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources