Skip to content
CVE-2026-119582 Elastic Security · Elastic

Detect SQL Injection Exploitation Against ITG VSRM (CVE-2026-119582) in Elastic Security

Detects exploitation attempts against CVE-2026-119582, a critical (CVSS 9.8, CWE-89) SQL injection vulnerability in ITG Bilgisayar Teknoloji Grubu VSRM. The flaw allows improper neutralization of special SQL elements in HTTP request parameters, enabling unauthenticated attackers to inject arbitrary SQL. Detection focuses on classic SQLi signatures in web request parameters, URIs, and bodies reaching VSRM endpoints, plus downstream database error and anomaly indicators. Exploit status is theoretical as of disclosure, so detection leans on generic SQLi patterns against the affected application surface.

MITRE ATT&CK

Tactic
Initial Access Collection

Elastic Detection Query

Elastic Security (Elastic)
eql
// df00tech DF00-a42ed6ea99 · https://df00tech.com/detections/CVE-2026-119582 · licence: https://df00tech.com/detections/licence
network where event.category == "web" and
  stringContains(url.path, "vsrm") and
  (
    stringContains(lower(url.query), "union select") or
    stringContains(lower(url.query), "or 1=1") or
    stringContains(lower(url.query), "information_schema") or
    stringContains(lower(url.query), "waitfor delay") or
    stringContains(lower(url.query), "sleep(") or
    stringContains(lower(url.query), "xp_cmdshell") or
    stringContains(lower(url.query), "@@version") or
    stringContains(lower(url.query), "' or '")
  )
high severity medium confidence

Matches web transaction events to VSRM paths carrying SQL injection tokens in the query string.

Data Sources

Elastic Web Transaction LogsPacketbeat HTTPFilebeat Web Module

Required Tables

apm-*-transactionpacketbeat-*filebeat-*

False Positives & Tuning

  • Authorized DAST scanning of the VSRM application
  • Benign requests whose parameters include SQL reserved words
  • Legacy integrations embedding SQL fragments in query strings

Other platforms for CVE-2026-119582


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Basic UNION-based SQLi probe against VSRM parameter

    Expected signal: Web/WAF access log entry to /vsrm/report with 'UNION SELECT' in the query string from the test source IP.

  2. Test 2 Boolean-based blind SQLi probe

    Expected signal: Access log entry containing "' OR '1'='1" in the request parameters for the vsrm login path.

  3. Test 3 Time-based blind SQLi probe

    Expected signal: Web log entry with 'WAITFOR DELAY' in the query string and potentially elevated response latency.

Last updated: Research depth: standard
References (1)

Response Playbook

Triage

  1. Confirm the targeted host runs ITG VSRM and determine whether the version is within the affected range per the CSIRT advisory (tr-26-1600).
  2. Decode and inspect the full request URI, query string, and body of the flagged event to confirm the SQL payload is a genuine injection attempt rather than a benign keyword match.
  3. Correlate the source IP against threat intelligence and check whether it generated multiple SQLi variants or follow-on requests indicating automated exploitation.
  4. Review the application and database logs for the same time window for SQL syntax errors, anomalous query durations, or large result-set exfiltration.

Containment

  1. Block the offending source IP(s) at the WAF/perimeter and enable or tune WAF SQLi signatures for the VSRM application path.
  2. If exploitation is confirmed, take the VSRM instance offline or restrict it to trusted networks until a vendor patch is applied.
  3. Rotate database credentials used by the VSRM application if injection success or data access is suspected.

Evidence Collection

  1. Preserve raw web server, WAF, and application logs covering the attack window, including full request bodies.
  2. Capture the database audit/query logs and any error logs showing the injected statements and their results.
  3. Snapshot the VSRM application and database host state (memory/disk) if compromise is suspected for forensic analysis.

Escalation Criteria

  • !Escalate to incident response if database errors or successful UNION/stacked queries confirm data was read or modified.
  • !Escalate to the data protection/legal team if evidence indicates exfiltration of personal or regulated data.
  • !Escalate to vendor/CSIRT contact (siberguvenlik.gov.tr) if active exploitation is confirmed against an unpatched instance.

Investigation Guide

Forensic Artifacts

  • >Web server and WAF access logs containing the injected request parameters
  • >Database error/audit logs showing malformed or anomalous SQL statements
  • >Application logs with stack traces or SQL exceptions tied to the request

Tuning Guidance

Baseline normal VSRM request parameters to reduce keyword collisions, then narrow the regex to high-fidelity tokens (UNION SELECT, WAITFOR DELAY, xp_cmdshell, information_schema) and exclude known scanner source IPs. Prioritize alerts where SQLi patterns coincide with database errors or HTTP 500 responses for higher confidence.


Hunting Queries

Hunt for repeated SQLi attempts against VSRM endpoints grouped by source IP over time to surface automated campaigns.

Hunting — KQL
kql
// df00tech DF00-a42ed6ea99 · https://df00tech.com/detections/CVE-2026-119582 · licence: https://df00tech.com/detections/licence
AzureDiagnostics | where requestUri_s has "vsrm" | where tolower(requestQuery_s) has_any ("union select","information_schema","waitfor delay","xp_cmdshell") | summarize count() by clientIP_s, bin(TimeGenerated, 1h)
Hunting — SPL
spl
``` df00tech DF00-a42ed6ea99 · https://df00tech.com/detections/CVE-2026-119582 · licence: https://df00tech.com/detections/licence ```
index=web uri_path="*vsrm*" | eval p=lower(uri_query) | where match(p,"(?i)union\s+select|information_schema|waitfor\s+delay|xp_cmdshell") | stats count by src_ip, date_hour

Atomic Red Team Tests

Test 1 Basic UNION-based SQLi probe against VSRM parameter
linux

Simulates an unauthenticated UNION SELECT injection in a VSRM query parameter to generate detection telemetry in a lab.

Command

bash
curl -s -G 'http://vsrm.lab.local/vsrm/report' --data-urlencode "id=1 UNION SELECT username,password FROM users--"

Cleanup

bash
echo 'No cleanup required; stateless HTTP request'

Expected Telemetry

Web/WAF access log entry to /vsrm/report with 'UNION SELECT' in the query string from the test source IP.

Expected Detection

KQL/SPL/WAF rules match the 'union select' pattern on a vsrm URI and raise a medium-high severity alert.

Test 2 Boolean-based blind SQLi probe
linux

Sends an OR 1=1 boolean injection to test boolean-based blind SQLi detection against VSRM.

Command

bash
curl -s -G 'http://vsrm.lab.local/vsrm/login' --data-urlencode "user=admin' OR '1'='1"

Cleanup

bash
echo 'No cleanup required'

Expected Telemetry

Access log entry containing "' OR '1'='1" in the request parameters for the vsrm login path.

Expected Detection

Detection rules flag the 'or 1=1' / "' or '" pattern and alert on the source IP.

Test 3 Time-based blind SQLi probe
windows

Issues a WAITFOR DELAY / SLEEP time-based blind injection to exercise time-based SQLi signatures.

Command

powershell
powershell -c "Invoke-WebRequest -UseBasicParsing 'http://vsrm.lab.local/vsrm/search?q=1;WAITFOR DELAY ''0:0:5''--'"

Cleanup

powershell
Remove-Item -ErrorAction SilentlyContinue $env:TEMP\vsrm_test.txt

Expected Telemetry

Web log entry with 'WAITFOR DELAY' in the query string and potentially elevated response latency.

Expected Detection

Rules match 'waitfor delay' against a vsrm URI and generate an alert correlated with slow DB response.

Related Detections