CVE-2024-12562 s2Member Pro <= 241216 - Unauthenticated PHP Object Injection

Critical 9.8 Published Updated

Unauthenticated attackers can inject PHP objects via deserialization, potentially leading to code execution or data theft if a POP chain exists.

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-2024-12562?

CVE-2024-12562 is a critical unsafe deserialization vulnerability in WP Sharks s2Member Pro, published on 15 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The s2Member Pro plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 241216 via deserialization of untrusted input from the 's2member_pro_remote_op' vulnerable parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable software. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

Weakness: CWE-502

Which versions are affected by CVE-2024-12562?

It affects 1 product.

Products include S2member S2member.

How do I fix CVE-2024-12562?

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

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

Sources

Also known as GHSA-wjr9-hj62-43j7.

Is CVE-2024-12562 in your software?

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

Check your SBOMs for free