Contest Gallery <= 19.1.4.1 - Authenticated (Author+) SQL Injection via option_id

7.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2022-4151
CVSS 7.5 (High)
Publicly Published November 29, 2022
Last Updated January 22, 2024
Researchers Kunal Sharma
Daniel Krohmer - Fraunhofer IESE Germany

Description

The Contest Gallery plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 19.1.4.1 due to insufficient escaping on the user supplied option_id parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level privileges or higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

References

Share

Vulnerability Details for Photos, Files, YouTube, Twitter, Instagram, TikTok, Ecommerce Contest Gallery – Upload, Vote, Sell via PayPal, Social Share Buttons

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

1 other affected software package

Software Type Plugin
Software Slug contest-gallery-pro
Patched? Yes
Remediation Update to version 19.1.5, or a newer patched version
Affected Version
  • <= 19.1.4.1
Patched Version
  • 19.1.5

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