Detect IBM API Connect SQL Injection (CVE-2026-17134) in CrowdStrike LogScale
Detects exploitation attempts against CVE-2026-17134, a SQL injection vulnerability (CWE-89) in IBM API Connect versions 12.1.0.0 through 12.1.1.2. A remote authenticated attacker can inject arbitrary SQL commands via vulnerable API parameters, potentially reading or modifying backend database contents. This detection surfaces SQL-injection patterns in HTTP requests to API Connect management/portal endpoints by authenticated users, anomalous SQL error responses, and database-side signs of injected queries. CVSS 9.9; fixed in 12.1.1.3.
MITRE ATT&CK
- Tactic
- Initial Access Collection
LogScale Detection Query
// df00tech DF00-fd437e8466 · https://df00tech.com/detections/CVE-2026-17134 · licence: https://df00tech.com/detections/licence
#event_simpleName=/^(HttpRequest|WebRequest)$/
| lower(field=HttpUrl, as=url)
| url=/\/(api|consumer-api|cloud|portal)\//
| url=/(union\s+select|'\s*or\s*'?1'?\s*=\s*'?1|waitfor\s+delay|pg_sleep|information_schema|xp_cmdshell|'--)/i
| UserName!="-" | UserName=*
| table([@timestamp, RemoteAddressIP4, UserName, HttpMethod, HttpUrl, HttpStatusCode])
| sort(@timestamp, order=desc) CrowdStrike CQL (LogScale) query detecting SQL-injection syntax in authenticated HTTP requests to IBM API Connect endpoints.
Data Sources
Required Tables
False Positives & Tuning
- Authorized scanning tools.
- Legitimate SQL keywords in request parameters.
- Automated test harnesses.
Other platforms for CVE-2026-17134
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.
- Test 1 Error-based SQL injection probe against API Connect consumer API
Expected signal: Web/IIS access log entry with authenticated user, URI /consumer-api/orgs, query string containing url-encoded "' OR '1'='1'--", and likely HTTP 400/500 response.
- Test 2 Union-based SQL injection probe
Expected signal: Access log entry with decoded query containing 'union select' and 'information_schema' for an authenticated user.
- Test 3 Time-based blind SQL injection probe
Expected signal: Access log entry with decoded query containing 'pg_sleep' and ';' for an authenticated user, with elevated response time.
Response Playbook
Triage
- Confirm the target host runs IBM API Connect at a vulnerable version (12.1.0.0 through 12.1.1.2); check build/version via the admin console or /cloud/api/cloud/settings.
- Identify the authenticated user account tied to the flagged request and determine whether it is a legitimate consumer/provider org member or a compromised/over-privileged account.
- URL-decode the captured query string and manually assess whether the payload is genuine SQL-injection syntax versus a benign keyword match.
- Correlate the source IP and user agent against known scanner/DAST infrastructure and the user's normal access baseline.
Containment
- Suspend or disable the implicated API Connect user account and revoke its active OAuth/API tokens.
- Block the attacker source IP at the WAF/load balancer fronting the API Connect management and portal endpoints.
- If exploitation is confirmed, isolate the API Connect management subsystem and its backing database from untrusted network segments pending patch to 12.1.1.3.
Evidence Collection
- Preserve IIS/web/ingress access logs showing the full request URI, query string, authenticated user, source IP, and response codes.
- Capture API Connect management/portal application logs and the backing PostgreSQL/database query and error logs covering the time window.
- Snapshot the API Connect database for forensic comparison to detect unauthorized reads or schema/data modification.
Escalation Criteria
- !Escalate to incident response if SQL error responses (HTTP 500 with DB stack traces) or time-based injection latency confirm the injection executed.
- !Escalate if evidence shows data exfiltration, credential/token theft, or modification of consumer/provider org records.
- !Escalate to the platform owner if the account used was privileged (org admin) or if multiple accounts/IPs show coordinated injection attempts.
Investigation Guide
Forensic Artifacts
- >
Web/IIS access logs containing the SQLi request URI and query string - >
API Connect application and database (PostgreSQL) query/error logs - >
Authentication logs for the implicated user account and token issuance records
Tuning Guidance
Baseline legitimate API Connect consumers that submit SQL-like keywords in parameters and allowlist known DAST/scanner source IPs used by the security team. Tighten the endpoint list to the actual API Connect management/portal paths in your deployment, and raise confidence to high when SQLi syntax coincides with HTTP 500 database-error responses or measurable time-based latency. Prefer URL-decoded matching to avoid evasion via encoding and to reduce raw-keyword noise.
Hunting Queries
Surfaces accounts/IPs making repeated SQL-injection-style requests to API Connect, indicating sustained probing rather than a single false positive.
// df00tech DF00-fd437e8466 · https://df00tech.com/detections/CVE-2026-17134 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has_any ("/api/","/consumer-api/","/portal/") | extend q=tolower(url_decode(csUriQuery)) | where q has_any ("union select","information_schema","pg_sleep","waitfor delay") | summarize count(), make_set(csUriStem) by csUsername, cIP | where count_ > 3 ``` df00tech DF00-fd437e8466 · https://df00tech.com/detections/CVE-2026-17134 · licence: https://df00tech.com/detections/licence ```
index=web (uri_path="*/api/*" OR uri_path="*/portal/*") | eval q=urldecode(lower(uri_query)) | where match(q,"union\s+select|information_schema|pg_sleep|waitfor\s+delay") | stats count values(uri_path) by user, src_ip | where count>3 Atomic Red Team Tests
Sends an authenticated request with a single-quote-based error payload to an API Connect endpoint to trigger a database error, simulating CVE-2026-17134 exploitation.
Command
curl -s -k -H "Authorization: Bearer $APIC_TOKEN" "https://apic.lab.local/consumer-api/orgs?filter=name%20eq%20%27%27%20OR%20%271%27%3D%271%27--%20" Cleanup
echo 'No persistent changes; clear test token: unset APIC_TOKEN' Expected Telemetry
Web/IIS access log entry with authenticated user, URI /consumer-api/orgs, query string containing url-encoded "' OR '1'='1'--", and likely HTTP 400/500 response.
Expected Detection
KQL/SPL/EQL rules match the decoded 'or '1'='1 and '-- patterns on an authenticated API Connect request.
Attempts a UNION SELECT injection via a query parameter to extract additional columns, modeling data-exfiltration exploitation of the SQLi flaw.
Command
curl -s -k -H "Authorization: Bearer $APIC_TOKEN" "https://apic.lab.local/api/catalogs?q=1%20UNION%20SELECT%20username,password%20FROM%20information_schema.tables--" Cleanup
echo 'No persistent changes to clean up' Expected Telemetry
Access log entry with decoded query containing 'union select' and 'information_schema' for an authenticated user.
Expected Detection
All seven SIEM queries match the 'union select' and 'information_schema' patterns.
Sends a time-delay payload (pg_sleep) to infer injectability through response latency, simulating blind exploitation.
Command
curl -s -k -o /dev/null -w "%{time_total}\n" -H "Authorization: Bearer $APIC_TOKEN" "https://apic.lab.local/portal/search?term=x%27%3BSELECT%20pg_sleep(5)--%20" Cleanup
echo 'No persistent changes; no cleanup required' Expected Telemetry
Access log entry with decoded query containing 'pg_sleep' and ';' for an authenticated user, with elevated response time.
Expected Detection
Queries match the 'pg_sleep' time-based injection pattern on an authenticated API Connect request.