☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-57664

CVE-2024-57664 Denial of Service in Openlink
📅 PUBLISHED: 2025-01-14 00:00 UTC 🔄 UPDATED: 2026-09-24 06:00 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.57%
👁️
0.57% probability
14.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-57664 is a denial-of-service (DoS) vulnerability in the sqlg_group_node component of OpenLink Virtuoso Open Source v7.2.11. An attacker can trigger a crash or resource exhaustion by sending crafted SQL statements that exploit improper handling of grouping operations. No public proof-of-concept (PoC) or patch is currently available, and the EPSS score is 0.0%, indicating low exploitation activity. However, the vulnerability is unpatched, making it a latent risk for systems running this version.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects the open-source Virtuoso database engine, which is distributed as source code and binary packages. Organizations using Virtuoso v7.2.11 should monitor for official patches or consider upgrading to a newer version if available. No package manager (NPM, PyPI, Go, Ruby) is involved.

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (No vector provided)
  • Attack Vector: Network (likely)
  • Attack Complexity: Low
  • Privileges Required: None (if SQL injection is possible)
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: None
  • Integrity Impact: None
  • Availability Impact: High
  • Threat Level: Medium (due to unpatched status and potential for DoS)

Deep Dive & Mechanics

The vulnerability resides in the sqlg_group_node component, which handles SQL GROUP BY operations. When a specially crafted SQL statement is executed, the component fails to validate or sanitize input properly, leading to a crash or infinite loop. This is a classic SQL injection-like issue but focused on denial of service rather than data exfiltration.

Root Cause: Improper input validation in the grouping logic, likely due to a buffer overflow, null pointer dereference, or infinite recursion when processing malformed GROUP BY clauses.

Attack Vector: An attacker with network access to the Virtuoso server (default port 8890) can send a malicious SQL query via the SPARQL endpoint or SQL interface.

Impact: Successful exploitation causes the Virtuoso process to crash or become unresponsive, resulting in denial of service for legitimate users.

Vulnerable vs. Patched Code

No patched version is available. The vulnerable code is in the sqlg_group_node function within the Virtuoso source tree. A hypothetical fix would involve adding input validation and bounds checking for GROUP BY expressions.

Vulnerable Code (v7.2.11):

// Simplified example of vulnerable logic
void sqlg_group_node(node_t *node) {
    // No validation of node->expr
    process_group_expr(node->expr); // Could cause crash if expr is malformed
}

Patched Code (hypothetical):

void sqlg_group_node(node_t *node) {
    if (node == NULL || node->expr == NULL) {
        return; // Early exit on invalid input
    }
    if (!validate_expr(node->expr)) {
        log_error("Invalid GROUP BY expression");
        return;
    }
    process_group_expr(node->expr);
}

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Access to a Virtuoso server (e.g., http://target:8890/sparql)
  • Ability to send SQL queries

Exploit Steps:

  1. Identify the Virtuoso endpoint (e.g., SPARQL or SQL).
  2. Send a crafted SQL statement with a malformed GROUP BY clause:
    SELECT * FROM <http://example.com/table> GROUP BY 1/0
    
    Or a deeply nested GROUP BY:
    SELECT * FROM <http://example.com/table> GROUP BY (SELECT (SELECT ...))
    
  3. Monitor server availability. If the server crashes or becomes unresponsive, the exploit is successful.

Note: No public exploit code is available. The above is a conceptual example.

Blue Team

Detection:

  • Monitor for unusual SQL queries with complex or malformed GROUP BY clauses.
  • Set up alerts for repeated failed queries or server crashes.

Mitigation:

  • Restrict network access to the Virtuoso server (firewall rules).
  • Use a Web Application Firewall (WAF) to filter malicious SQL patterns.
  • Apply rate limiting to the SPARQL/SQL endpoints.

Indicators of Compromise (IOCs)

  • Network: Unusual SQL queries containing GROUP BY with division by zero, subqueries, or excessive nesting.
  • Logs: Virtuoso error logs showing crashes in sqlg_group_node or SIGSEGV signals.
  • System: Unexpected downtime of the Virtuoso service.

Detection Engineering

YARA Rule

rule CVE_2024_57664_Virtuoso_DoS {
    meta:
        description = "Detects crafted SQL statements targeting CVE-2024-57664"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-57664"
    strings:
        $sql1 = "GROUP BY" nocase
        $sql2 = "1/0" nocase
        $sql3 = "SELECT (SELECT" nocase
    condition:
        all of ($sql1, $sql2) or all of ($sql1, $sql3)
}

Sigma Rule

title: CVE-2024-57664 Virtuoso DoS via Crafted SQL
id: 8a3f2c1e-5d7b-4a9f-8c6e-1b2d3e4f5a6b
status: experimental
description: Detects SQL queries with malformed GROUP BY clauses targeting Virtuoso
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: virtuoso
detection:
    selection:
        query|contains:
            - 'GROUP BY 1/0'
            - 'GROUP BY (SELECT'
    condition: selection
falsepositives:
    - Legitimate complex queries (rare)
level: high

Suricata Rule

alert tcp any any -> any 8890 (msg:"CVE-2024-57664 Virtuoso DoS Attempt"; flow:to_server,established; content:"GROUP BY"; nocase; content:"1/0"; distance:0; within:100; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Restrict network access to the Virtuoso server using firewall rules. Only allow trusted IPs.
  2. Short-term: Monitor for official patches from OpenLink. If none, consider disabling the SPARQL endpoint or using a reverse proxy with input validation.
  3. Long-term: Upgrade to a patched version when available. If no patch is released, consider migrating to an alternative database solution.
  4. Compensating Controls: Implement a Web Application Firewall (WAF) to block SQL injection patterns. Use intrusion detection systems (IDS) to alert on suspicious queries.

Valters IT
Securing Digital Frontiers

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-57664/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.