CVE-2024-1858 Lightbox slider – Responsive Lightbox Gallery <= 1.9.9 - Authenticated (Contributor+) PHP Object Injection

Medium 5.4 Published Updated

Authenticated contributors can exploit PHP object injection via post meta data, potentially leading to code execution or data exposure 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-1858?

CVE-2024-1858 is a medium-severity unsafe deserialization vulnerability in weblizar Lightbox slider – Responsive Lightbox Gallery, published on 29 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Lightbox slider – Responsive Lightbox Gallery plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.9.9 via deserialization of untrusted input through post meta data. 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-1858?

How do I fix CVE-2024-1858?

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

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

Sources

Also known as GHSA-hq4p-4fvf-wqvf.

Is CVE-2024-1858 in your software?

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

Check your SBOMs for free