CVE-2024-12114

MEDIUM CVSS 3.1: 4.3 EPSS 0.32%
Updated Mar 12, 2025
Fooplugins
Parameter Value
CVSS 4.3 (MEDIUM)
Affected Versions before 2.4.30
Fixed In 2.4.30
Type CWE-639 (Authorization Bypass)
Vendor Fooplugins
Public PoC No

The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.4.29 via the foogallery_attachment_modal_save AJAX action due to missing validation on a user controlled key (img_id). This makes it possible for authenticated attackers, with granted access and above, to update arbitrary post and page content. This requires the Gallery Creator Role setting to be a value lower than 'Editor' for there to be any real impact.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Fooplugins Foogallery
cpe:2.3:a:fooplugins:foogallery:*:*:*:*:-:wordpress:*:*
— 2.4.30