CVE-2024-1872 Button <= 1.1.27 - Authenticated (Contributor+) PHP Object Injection in button_shortcode
Authenticated contributors can exploit PHP object injection in the Button plugin to potentially execute code or access data if a POP chain exists.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-1872?
CVE-2024-1872 is a high-severity unsafe deserialization vulnerability in burgersoftware Button, published on 29 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Button plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.1.27 via deserialization of untrusted input in the button_shortcode function. This makes it possible for authenticated attackers, with contributor-level access and above, 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-1872?
How do I fix CVE-2024-1872?
No fix has been published for CVE-2024-1872 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-1872 being exploited?
There is no known exploitation of CVE-2024-1872 in the wild and no public exploit code.
Sources
Also known as GHSA-cjw7-2fr6-92q8.