{"id":"CVE-2024-12114","aliases":["CVE-2024-12114"],"related":[],"kind":"vulnerability","state":"published","title":"FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Insecure Direct Object Reference to Authenticated (Custom+) Arbitrary Post/Page Updates","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El complemento FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry &amp; Carousel para WordPress es vulnerable a la referencia directa a objetos inseguros en todas las versiones hasta la 2.4.29 incluida a través de la acción AJAX foogallery_attachment_modal_save debido a la falta de validación en una clave controlada por el usuario (img_id). Esto hace posible que atacantes autenticados, con acceso otorgado o superior, actualicen contenido arbitrario de publicaciones y páginas. Esto requiere que la configuración del rol de creador de la galería sea un valor inferior a \"Editor\" para que haya un impacto real.","source":"nvd"}],"published":"2025-03-08T05:30:09.469Z","modified":"2026-06-17T06:59:04.523Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.4.29","status":"affected"}],"vendor":"fooplugins","product":"Gallery by FooGallery","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.4.30"}],"vendor":"fooplugins","product":"foogallery","cpe":"cpe:2.3:a:fooplugins:foogallery:*:*:*:*:-:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f4fe3ad9-247f-4e5d-8c79-0970afaa7729?source=cve","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fooplugins/foogallery/blob/master/includes/admin/class-gallery-attachment-modal.php#L242","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3250684/foogallery/tags/2.4.30/includes/admin/class-gallery-attachment-modal.php?old=3229839&old_path=foogallery%2Ftags%2F2.4.29%2Fincludes%2Fadmin%2Fclass-gallery-attachment-modal.php","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Stiofan O'Connor"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-10T16:11:45.739Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12114","url":"https://www.cve.org/CVERecord?id=CVE-2024-12114","licence":"CVE Terms of Use","modified":"2026-04-08T17:33:15.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12114","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12114","licence":"Public domain","modified":"2026-06-17T06:59:04.523Z"}],"updatedAt":"2026-11-25T22:58:52.241Z","epss":{"score":0.00321,"percentile":0.27097,"date":"2026-12-01T12:00:22.000Z"}}