CVE-2024-1897 Grid Gallery – Photo Image Grid Gallery <= 1.4.3 - Authenticated (Contributor+) PHP Object Injection via shortcode
Authenticated contributors can exploit PHP object injection via shortcode 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-1897?
CVE-2024-1897 is a high-severity unsafe deserialization vulnerability in awordpresslife Grid Gallery for Images, published on 2 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Grid Gallery – Photo Image Grid Gallery plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.4.3 via deserialization via shortcode of untrusted input from the awl_gg_settings_ meta value. This makes it possible for authenticated attackers, with contributor access and above, to inject a PHP Object. No 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-1897?
How do I fix CVE-2024-1897?
No fix has been published for CVE-2024-1897 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-1897 being exploited?
There is no known exploitation of CVE-2024-1897 in the wild and no public exploit code.
Sources
Also known as GHSA-98fj-jw92-733g.