CVE-2024-3070 Last Viewed Posts by WPBeginner <= 1.0.0 - Unauthenticated PHP Object Injection
Unauthenticated attackers can inject PHP objects via cookies, 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-3070?
CVE-2024-3070 is a critical unsafe deserialization vulnerability in jottlieb Last Viewed Posts by WPBeginner, published on 9 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Last Viewed Posts by WPBeginner plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.0.0 via deserialization of untrusted input from the LastViewedPosts Cookie. This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable plugin. 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-3070?
How do I fix CVE-2024-3070?
No fix has been published for CVE-2024-3070 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-3070 being exploited?
There is no known exploitation of CVE-2024-3070 in the wild and no public exploit code.
Sources
Also known as GHSA-5hjg-chj2-7wf8.