Photo Gallery <= 1.4.2 - Authenticated(Contributor+) PHP Object Injection via Shortcode

2024-04-29 00:00
Francesco Carlucci

Strategic Overview

Status
Patched in 1.4.3
Affected Version<= 1.4.2
CVSS7.5High
CVECVE-2024-1896
View all Photo Gallery – Image, Video & Portfolio vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 1.4.3, or a newer patched version --- IDENTIFIER: CWE-502 (Deserialization of Untrusted Data) The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C