Detect IBM API Connect SSRF Exploitation (CVE-2026-17131) in Elastic Security
Detects potential exploitation of CVE-2026-17131, a server-side request forgery (SSRF) vulnerability in IBM API Connect versions 12.1.0.0 through 12.1.1.2. A remote attacker can abuse insufficient restrictions on outbound requests to coerce the API Connect gateway/management server into making requests to attacker-controlled or internal resources, enabling access to sensitive information including internal services and cloud metadata endpoints. Detection focuses on anomalous outbound requests originating from API Connect hosts toward internal RFC1918 ranges, cloud metadata IPs (169.254.169.254), and loopback, as well as suspicious inbound API requests carrying URL/host parameters indicative of SSRF payloads.
MITRE ATT&CK
- Tactic
- Discovery Collection
Elastic Detection Query
// df00tech DF00-286d507248 · https://df00tech.com/detections/CVE-2026-17131 · licence: https://df00tech.com/detections/licence
sequence by host.name with maxspan=5m
[network where process.name in ("node", "datapower", "apiconnect") and destination.port != 53]
[network where (
cidr_match(destination.ip, "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8") or
destination.ip == "169.254.169.254"
)] Correlates API Connect process network activity followed by connections to internal or metadata IP ranges indicative of SSRF.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate internal backend calls from API Connect
- Container orchestration health checks
- Service discovery traffic to private ranges
Other platforms for CVE-2026-17131
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 Simulated SSRF to cloud metadata endpoint
Expected signal: Outbound network connection to 169.254.169.254:80 from the invoking process.
- Test 2 Simulated SSRF to internal RFC1918 service
Expected signal: Outbound connection to an RFC1918 address on a non-standard port.
- Test 3 Simulated SSRF to loopback service
Expected signal: Outbound/local connection to 127.0.0.1 on a service port.
Response Playbook
Triage
- Confirm the source host is running IBM API Connect and identify its version; versions 12.1.0.0 through 12.1.1.2 are vulnerable to CVE-2026-17131.
- Review the outbound destination IP(s): determine whether they are cloud metadata endpoints (169.254.169.254), loopback, or internal RFC1918 services not part of any sanctioned integration.
- Correlate the outbound SSRF connection with inbound API requests to the API Connect gateway in the same time window to identify the triggering request and its source IP.
- Inspect the inbound request body/parameters for attacker-supplied URLs, hostnames, or IP addresses in fields normally expecting internal values.
Containment
- Apply the IBM fix by upgrading API Connect to version 12.1.1.3 or later per the vendor advisory.
- Restrict egress from the API Connect host via network ACLs/security groups to only sanctioned backend destinations, explicitly blocking 169.254.169.254 and loopback.
- If cloud-hosted, enforce IMDSv2 (hop-limit + session tokens) to blunt metadata-based SSRF.
Evidence Collection
- Capture API Connect gateway and management server access logs covering the suspected request window.
- Preserve network flow/proxy logs showing the outbound SSRF connection, including full destination URL/IP and response size.
- Snapshot the host and collect application logs showing the request handler that initiated the outbound call.
Escalation Criteria
- !Escalate to IR if outbound connections reached the cloud metadata endpoint (169.254.169.254) and returned data, indicating possible credential theft.
- !Escalate if evidence shows access to internal services (databases, admin consoles) that returned sensitive data via the SSRF channel.
Investigation Guide
Forensic Artifacts
- >
API Connect gateway/management access logs - >
Outbound network flow records from the API Connect host - >
Application-layer request parameters containing SSRF payloads
Tuning Guidance
Baseline the set of legitimate internal backend destinations that API Connect integrations call and allowlist those IP/port pairs to reduce noise. Keep metadata IPs (169.254.169.254, 100.100.100.200) and loopback as non-allowlistable high-confidence indicators. Exclude known monitoring/health-check processes and DNS/NTP ports to cut recurring benign matches.
Hunting Queries
Hunt for any API Connect host connections to the cloud metadata endpoint, a high-fidelity indicator of SSRF credential theft.
// df00tech DF00-286d507248 · https://df00tech.com/detections/CVE-2026-17131 · licence: https://df00tech.com/detections/licence
DeviceNetworkEvents | where InitiatingProcessFileName has_any ("apiconnect","datapower","node") | where RemoteIP == "169.254.169.254" | project Timestamp, DeviceName, RemoteIP, RemotePort ``` df00tech DF00-286d507248 · https://df00tech.com/detections/CVE-2026-17131 · licence: https://df00tech.com/detections/licence ```
index=network (host=*apic* OR process_name=datapower) dest_ip=169.254.169.254 | stats count by host, src_ip, dest_port Atomic Red Team Tests
Simulates an SSRF outbound request from an API Connect-like process to the cloud metadata IP in a lab.
Command
curl -s -m 5 http://169.254.169.254/latest/meta-data/ -o /tmp/apic_ssrf_meta.out; echo done Cleanup
rm -f /tmp/apic_ssrf_meta.out Expected Telemetry
Outbound network connection to 169.254.169.254:80 from the invoking process.
Expected Detection
KQL/SPL/EQL rules flag the connection to the metadata IP.
Simulates coerced outbound request to an internal private-range host.
Command
curl -s -m 5 http://10.0.0.1:8080/admin -o /tmp/apic_ssrf_internal.out; echo done Cleanup
rm -f /tmp/apic_ssrf_internal.out Expected Telemetry
Outbound connection to an RFC1918 address on a non-standard port.
Expected Detection
Rules match outbound connection to private IP range from API Connect process/host.
Simulates SSRF probing a service bound to localhost on the API Connect host.
Command
curl -s -m 5 http://127.0.0.1:9443/ -o /tmp/apic_ssrf_loopback.out; echo done Cleanup
rm -f /tmp/apic_ssrf_loopback.out Expected Telemetry
Outbound/local connection to 127.0.0.1 on a service port.
Expected Detection
Rules match loopback connection from API Connect process.