CVE-2022-4120 Stop Spammers Security < 2022.6 - Unauthenticated PHP Object Injection

Critical 9.8 Published Updated

Unauthenticated attackers can achieve code execution via PHP object injection in the Stop Spammers Security WordPress plugin when CAPTCHA is enabled.

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-2022-4120?

CVE-2022-4120 is a critical unsafe deserialization vulnerability in Unknown Stop Spammers Security | Block Spam Users, Comments, Forms, published on 26 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Stop Spammers Security | Block Spam Users, Comments, Forms WordPress plugin before 2022.6 passes base64 encoded user input to the unserialize() PHP function when CAPTCHA are used as second challenge, which could lead to PHP Object injection if a plugin installed on the blog has a suitable gadget chain

Which versions are affected by CVE-2022-4120?

It affects 1 product.

Products include Trumani Stop Spammers.

How do I fix CVE-2022-4120?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4120 exists.

Sources

Also known as GHSA-7x93-m29h-6j9q.

Is CVE-2022-4120 in your software?

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

Check your SBOMs for free