What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
The Photo Gallery for Images plugin for WordPress contains a deserialization vulnerability in versions up to 1.4.2. An authenticated attacker with low privileges can send a specially crafted request to deserialize untrusted data, potentially leading to remote code execution. The attack requires network access and some technical complexity but does not require user interaction.
What an attacker can do
03Attacker Capabilities
Run their own code on the site, read sensitive data, or modify site content.
Potential impact on your site
04Site Impact
An authenticated user with basic permissions could compromise your entire site, including database access and file modification.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress account (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
May 2, 2024
CVE published
April 8, 2026
Record updated