CVE-2024-1896 Photo Gallery <= 1.4.2 - Authenticated(Contributor+) PHP Object Injection via Shortcode
Authenticated attackers can exploit PHP object injection in the Photo Gallery 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-1896?
CVE-2024-1896 is a high-severity unsafe deserialization vulnerability in awordpresslife Photo 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 Photo Gallery – Responsive Photo Gallery, Image Gallery, Portfolio Gallery, Logo Gallery And Team Gallery plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.4.2 via deserialization via shortcode of untrusted input from the 'awl_lg_settings_' attribute. 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-1896?
How do I fix CVE-2024-1896?
No fix has been published for CVE-2024-1896 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-1896 being exploited?
There is no known exploitation of CVE-2024-1896 in the wild and no public exploit code.
Sources
Also known as GHSA-vc84-jf9c-r6r5.