CVE-2021-24857 ToTop Link <= 1.7.1 - Unauthenticated PHP Object Injection

Critical 9.8 Published Updated

Unauthenticated attackers can achieve code execution via PHP object injection in the ToTop Link WordPress plugin by exploiting unsafe deserialization of user input.

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-24857?

CVE-2021-24857 is a critical unsafe deserialization vulnerability in Unknown ToTop Link, published on 13 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-502

Which versions are affected by CVE-2021-24857?

It affects 1 product.

Products include Nocean Totop Link.

How do I fix CVE-2021-24857?

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

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

Sources

Also known as GHSA-q5c4-rqq9-f524.

Is CVE-2021-24857 in your software?

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

Check your SBOMs for free