CVE-2026-34197 Sumo Logic CSE · Sumo

Detect Apache ActiveMQ Improper Input Validation (CVE-2026-34197) in Sumo Logic CSE

Detects exploitation of CVE-2026-34197, an improper input validation vulnerability (CWE-20/CWE-94) in Apache ActiveMQ that has been added to the CISA Known Exploited Vulnerabilities catalog. Successful exploitation may allow remote attackers to execute arbitrary code or inject malicious content via crafted messages or broker connections. ActiveMQ's OpenWire protocol and web console are common attack surfaces for this class of vulnerability.

MITRE ATT&CK

Tactic
Initial Access Execution Persistence

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=*activemq* OR _sourceCategory=*network* OR _sourceCategory=*firewall* OR _sourceCategory=*endpoint*
| where !(src_ip matches "127.0.0.1" or src_ip matches "::1")
| where dest_port in ("61616", "61617", "8161", "8162", "5672", "1883", "61613") or src_port in ("61616", "61617", "8161", "8162", "5672", "1883", "61613")
| parse regex field=_raw "(?<suspicious_string>ClassPathXmlApplicationContext|classInfo|ExceptionResponse|cmd\.exe|powershell|/bin/sh|wget|curl|base64|ncat|\.\./)" nodrop
| where !isNull(suspicious_string) or !isEmpty(suspicious_string)
| timeslice 5m
| stats count as event_count, values(suspicious_string) as indicators, values(src_ip) as source_ips by _timeslice, dest_ip, dest_port, _sourceHost
| where event_count >= 1
| sort by _timeslice desc
critical severity medium confidence

Sumo Logic query detecting CVE-2026-34197 exploitation activity by searching for known malicious string patterns within traffic destined for Apache ActiveMQ service ports across network and endpoint log sources.

Data Sources

Firewall logsEndpoint security logsActiveMQ application logsNetwork flow logs

Required Tables

_sourceCategory=*activemq*_sourceCategory=*network*_sourceCategory=*endpoint*

False Positives & Tuning

  • Spring Framework applications using ClassPathXmlApplicationContext in ActiveMQ message bodies as part of normal operations
  • Authorized security testing or red team exercises against ActiveMQ infrastructure
  • Network scanners performing port discovery that happen to probe ActiveMQ ports

Other platforms for CVE-2026-34197


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 available with Pro.

  1. Test 1ActiveMQ OpenWire Port Probe with Malicious Payload Pattern

    Expected signal: Network connection event to port 61616 from non-standard source; payload content containing 'ClassPathXmlApplicationContext' visible in network capture or IDS alerts

  2. Test 2Simulated Post-Exploitation Shell Spawn from Java Process

    Expected signal: Sysmon Event ID 1 or Linux audit execve showing bash/sh spawned with parent process containing 'java' in the image path; process command line containing 'id', 'hostname', or 'whoami'

  3. Test 3ActiveMQ Web Console Access with Path Traversal Attempt

    Expected signal: HTTP access log entries on port 8161 containing '../' path sequences and 'ClassPathXmlApplicationContext' in request body or destination parameter; network connection events to port 8161 from unexpected source

Unlock Pro Content

Get the full detection package for CVE-2026-34197 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections