CVE-2024-12237

Photo Gallery Slideshow & Masonry Tiled Gallery <= 1.0.15 - Authenticated (Subscriber+) Limited Server-Side Request Forgery

2025-01-03 09:55
shaman0x01

Strategic Overview

Status
Patched in 1.0.16
Affected Version
<= 1.0.15
CVSS
4.3Medium
Weakness type
CWE-918 · Server-Side Request Forgery (SSRF)
CVE
CVE-2024-12237
View all Photo Gallery Slideshow & Masonry Tiled Gallery vulnerabilities

At a glance

CVE-2024-12237 is a medium-severity Server-Side Request Forgery (SSRF) vulnerability in the Photo Gallery Slideshow & Masonry Tiled Gallery WordPress plugin, affecting versions <= 1.0.15. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 1.0.16; sites on affected versions should update now. Disclosed January 2025, reported by shaman0x01.

Vulnerability Overview

The Photo Gallery Slideshow & Masonry Tiled Gallery plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 1.0.15 via the rjg_get_youtube_info_justified_gallery_callback function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to make web requests to arbitrary locations originating from the web application and can be used to retrieve limited information from internal services.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-918: Server-Side Request Forgery (SSRF)

Reaching this weakness in Photo Gallery Slideshow & Masonry Tiled Gallery <= 1.0.15 takes an account at Subscriber level or above. Server-side request forgery means the application fetches a URL supplied by the caller, turning the server into a proxy for requests the attacker could not make directly.

The request originates from inside the hosting network, which is how these flaws reach cloud metadata endpoints, internal admin panels and services that trust local traffic. For Photo Gallery Slideshow & Masonry Tiled Gallery the fix is 1.0.16: builds <= 1.0.15 are affected, anything from 1.0.16 onward is not.

Remediation

Update to version 1.0.16, or a newer patched version

How does WordSec protect against this?

An attacker needs Subscriber access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Photo Gallery Slideshow & Masonry Tiled Gallery 1.0.16 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

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