WordPress security changelog
CRITICAL CVE-2021-24857 Modified

ToTop Link: Code execution

ToTop Link 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 9.8 CVSS · contact@wpscan.com
NVD score 9.8 CVSS 3.1 · nvd@nist.gov
Component
ToTop Link
Plugin slug
totop-link
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Dec 13, 2021
Weakness
CWE-502 — Deserialization of Untrusted Data

This CVE was published Dec 13, 2021 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update ToTop Link 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 ToTop Link WordPress plugin through 1.7.1 passes base64 encoded user input to the unserialize() PHP function, which could lead to PHP Object injection if a plugin installed on the blog has a suitable gadget chain.

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

Primary and upstream sources