Detect IBM API Connect Path Traversal RCE (CVE-2026-17239) in CrowdStrike LogScale
Detects exploitation of CVE-2026-17239, a path traversal vulnerability (CWE-22) in IBM API Connect 12.1.0.0 through 12.1.1.2 that allows a remote authenticated attacker to execute arbitrary code. Exploitation typically manifests as HTTP requests to API Connect management/provider endpoints containing directory-traversal sequences (../, encoded variants) used to write or read files outside the intended directory, leading to code execution. This detection surfaces traversal patterns in web/proxy logs targeting API Connect, suspicious file writes to API Connect web-accessible or configuration directories, and anomalous child processes spawned by API Connect / Node.js runtime processes.
MITRE ATT&CK
- Tactic
- Initial Access Execution
LogScale Detection Query
// df00tech DF00-de67841fb1 · https://df00tech.com/detections/CVE-2026-17239 · licence: https://df00tech.com/detections/licence
#event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ ParentBaseFileName=/^(node|node\.exe|java|java\.exe)$/
| ImageFileName=/(cmd\.exe|powershell\.exe|bash|sh|whoami|curl|wget)/i
| groupBy([aid, ParentBaseFileName, ImageFileName, CommandLine], limit=200)
| sort(@timestamp, order=desc) Detects suspicious child processes (shells, recon utilities) spawned by the IBM API Connect Node.js/Java runtime, consistent with code execution following path-traversal exploitation.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate API Connect automation invoking shell helpers
- Administrative scripts run under the runtime service account
- Monitoring agents spawned by the application
Other platforms for CVE-2026-17239
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 Encoded path traversal request to API Connect endpoint
Expected signal: Web/IIS access log entry with URI /apiconnect/provider/..%2f..%2f..%2fetc%2fpasswd and an authenticated session
- Test 2 Double-encoded traversal probe
Expected signal: Web log entry containing ..%252f against the /apiconnect/manager path
- Test 3 Simulated runtime child process spawn
Expected signal: Process creation event with parent process name 'node' spawning a shell/recon command (id, whoami)
Response Playbook
Triage
- Confirm the target host runs IBM API Connect and identify its version; versions 12.1.0.0 through 12.1.1.2 are vulnerable and must be patched to 12.1.1.3 or later.
- Decode the full request URI and parameters to confirm genuine path-traversal sequences (../, ..%2f, %2e%2e%2f, double-encoded variants) rather than benign dot-dot literals.
- Identify the authenticated user account tied to the request (attack requires authentication) and determine whether that account is expected to call the targeted endpoint.
- Correlate the request timestamp with any new or modified files in API Connect web-accessible, upload, or configuration directories.
- Check whether the API Connect runtime (Node.js/Java) spawned any unexpected child processes shortly after the request.
Containment
- Isolate or network-restrict the affected API Connect node pending investigation, blocking inbound access from the source IP at the WAF/load balancer.
- Revoke or reset credentials and API tokens for the authenticated account used in the traversal attempt.
- Apply the IBM fix (upgrade to API Connect 12.1.1.3) or vendor-provided mitigation before returning the node to service.
Evidence Collection
- Preserve web/proxy/IIS access logs showing the full raw and decoded request URI, source IP, and authenticated user.
- Capture a file-system snapshot of API Connect directories and hash any files created or modified around the event time.
- Collect process execution telemetry and command lines for children of the API Connect runtime process.
- Export authentication logs to establish how the attacker obtained the authenticated session.
Escalation Criteria
- !Escalate to incident response if a file write outside the intended directory or a spawned shell/recon process is confirmed, indicating achieved code execution.
- !Escalate if the authenticated account shows signs of compromise (anomalous source IP, impossible travel, or credential reuse across hosts).
- !Escalate if multiple traversal attempts, lateral movement, or persistence artifacts are observed on the API Connect host.
Investigation Guide
Forensic Artifacts
- >
Web/IIS/proxy access log entries containing encoded or raw ../ sequences targeting API Connect endpoints - >
Newly created or modified files in API Connect web-accessible, upload, or config directories - >
Child-process and command-line records for the Node.js/Java runtime service account - >
Authentication and session logs for the account used in the traversal request
Tuning Guidance
Baseline legitimate API Connect endpoints and query parameters that may contain literal dot-dot strings, and allowlist authorized vulnerability scanners by source IP. Prioritize alerts where the request is followed by a file write in API Connect directories or a shell/recon child process of the runtime, as these indicate code execution rather than a blocked probe. Scope the web-log queries to hosts confirmed to run vulnerable versions (12.1.0.0-12.1.1.2) to reduce noise.
Hunting Queries
Aggregates path-traversal attempts against API Connect endpoints by source IP and user to surface repeated or distributed probing.
// df00tech DF00-de67841fb1 · https://df00tech.com/detections/CVE-2026-17239 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "apiconnect" or csUriQuery has "%2e%2e" | extend d = url_decode(csUriQuery) | where d has "../" or d has "..\\" | summarize count() by cIP, csUserName, bin(TimeGenerated, 1h) ``` df00tech DF00-de67841fb1 · https://df00tech.com/detections/CVE-2026-17239 · licence: https://df00tech.com/detections/licence ```
index=web (sourcetype=iis OR sourcetype=apache:access) | eval d=urldecode(uri_query) | where like(uri_path,"%apiconnect%") AND (match(d,"\.\.(/|\\\\)")) | stats count by src_ip, user Atomic Red Team Tests
Sends an HTTP request with a URL-encoded path-traversal sequence to a simulated API Connect endpoint to generate web-log telemetry.
Command
curl -s -o /dev/null -k 'https://localhost:9443/apiconnect/provider/..%2f..%2f..%2fetc%2fpasswd' -H 'Authorization: Bearer TESTTOKEN' Cleanup
echo 'No cleanup required; stateless HTTP request.' Expected Telemetry
Web/IIS access log entry with URI /apiconnect/provider/..%2f..%2f..%2fetc%2fpasswd and an authenticated session
Expected Detection
The kql, spl, qradar_aql, sumo_logic and chronicle_yaral queries match the traversal sequence against an API Connect endpoint.
Issues a double-URL-encoded traversal request to verify detection of evasion variants.
Command
curl -s -o /dev/null -k 'https://localhost:9443/apiconnect/manager/..%252f..%252fconfig' -H 'Authorization: Bearer TESTTOKEN' Cleanup
echo 'No cleanup required.' Expected Telemetry
Web log entry containing ..%252f against the /apiconnect/manager path
Expected Detection
The spl and qradar_aql queries match the ..%252f double-encoded pattern.
Spawns a shell from a process named to mimic the API Connect Node.js runtime to exercise the endpoint-based CQL detection.
Command
cp /bin/sh /tmp/node && /tmp/node -c 'id; whoami' Cleanup
rm -f /tmp/node Expected Telemetry
Process creation event with parent process name 'node' spawning a shell/recon command (id, whoami)
Expected Detection
The crowdstrike_cql query matches a shell/recon child process spawned by a node-named parent process.