Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12114: CWE-639 Authorization Bypass Through User-Controlled Key in fooplugins Gallery by FooGallery

0
Medium
VulnerabilityCVE-2024-12114cvecve-2024-12114cwe-639
Published: Sat Mar 08 2025 (03/08/2025, 05:30:09 UTC)
Source: CVE Database V5
Vendor/Project: fooplugins
Product: Gallery by FooGallery

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 06:13:18 UTC

Technical Analysis

The FooGallery WordPress plugin suffers from an insecure direct object reference vulnerability (CWE-639) in the foogallery_attachment_modal_save AJAX action. The plugin fails to validate the user-controlled img_id parameter, allowing authenticated users with certain roles to modify arbitrary post and page content. This issue affects all versions up to and including 2.4.29 and requires the Gallery Creator Role setting to be lower than Editor for exploitation to have impact. The vulnerability is rated medium severity with a CVSS 3.1 score of 4.3.

Potential Impact

An authenticated attacker with at least Gallery Creator Role privileges (configured below Editor) can update arbitrary WordPress post and page content. This could lead to unauthorized content modification but does not impact confidentiality or availability. The impact is limited by the requirement for authenticated access and specific role settings.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, review and adjust the Gallery Creator Role setting to Editor or higher to reduce risk. Limit plugin access to trusted users only. Monitor vendor channels for updates or patches addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-03T20:45:57.298Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e2db7ef31ef0b597506

Added to database: 2/25/2026, 9:48:29 PM

Last enriched: 4/9/2026, 6:13:18 AM

Last updated: 4/12/2026, 8:31:51 AM

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses