CVE-2024-12114: CWE-639 Authorization Bypass Through User-Controlled Key in fooplugins Gallery by FooGallery
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 Analysis
Technical Summary
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.
CVE-2024-12114: CWE-639 Authorization Bypass Through User-Controlled Key in fooplugins 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.