Vulnerability · Published May 2, 2024 · Assigned by Wordfence
CVE-2024-1896Photo Gallery <= 1.4.2 - Authenticated(Contributor+) PHP Object Injection via Shortcode
High 7.5
In plain English
A high-severity unsafe deserialization in Photo Gallery for Images from awordpresslife. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| awordpresslife | Photo Gallery for Images | 0 – through 1.4.2 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/14894c36-f657-4368-bc7f-60121ec08c13?source=cve
- https://plugins.trac.wordpress.org/browser/new-photo-gallery/tags/1.4.0/shortcode.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3089214%40new-photo-gallery%2Ftrunk&old=3082454%40new-photo-gallery%2Ftrunk&sfp_email=&sfph_mail=