WP Easy Gallery <= 2.7 - SQL Injection

9.1
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSS 9.1 (Critical)
Publicly Published February 18, 2013
Last Updated January 22, 2024

Description

The WP Easy Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 'galleryId' or 'select_gallery' parameters found in the ‘admin/edit-gallery.php’ file in versions up to, and including, 2.7 due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated admin+ attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP Easy Gallery – WordPress Gallery Plugin

Software Type Plugin
Software Slug wp-easy-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.7.1, or a newer patched version
Affected Version
  • <= 2.7
Patched Version
  • 2.7.1

Recent vulnerabilities in WP Easy Gallery – WordPress Gallery Plugin

# Title CVE ID CVSS Researchers Date
1 WP Easy Gallery <= 4.8.5 - Authenticated (Contributor+) SQL Injection via key Parameter CVE-2024-9018 8.8 Peter Thaleikis September 30, 2024
2 WP Easy Gallery – WordPress Gallery Plugin <= 4.8.5 - Authenticated (Subscriber+) SQL Injection CVE-2024-8436 9.9 Lucio Sá September 23, 2024
3 WP Easy Gallery – WordPress Gallery Plugin <= 4.8.5 - Missing Authorization to Authenticated (Subscriber+) Gallery Manipulation CVE-2024-8437 4.3 Lucio Sá September 23, 2024
4 WP Easy Gallery <= 4.1.4 - Stored Cross-Site Scripting 6.5 Rahul Pratap Singh January 26, 2016
5 WP Easy Gallery <= 2.7 - SQL Injection 7.2 August 1, 2014
6 WP Easy Gallery <= 1.7 - Cross-Site Scripting 6.1 Heine Pedersen, Torben Jensen August 1, 2014
7 PrettyPhoto Library (Multiple Plugins and Themes) <= 3.1.4 - DOM Cross-Site Scripting CVE-2013-6837 6.1 Anant Shrivastava (anantshri), PeruCrack August 1, 2014
8 WP Easy Gallery <= 2.7 - Cross-Site Request Forgery 8.8 August 1, 2014
9 WP Easy Gallery <= 2.7 - SQL Injection 7.2 August 1, 2014

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation