
这是一个面向防守和内网排查的 Apache ActiveMQ Classic 暴露面检测工具,用于辅助评估 CVE-2026-34197 相关风险。
This is an Apache ActiveMQ Classic exposure detection tool for defense and internal network reconnaissance, used to assist in assessing risks related to CVE-2026-34197.
This project does not contain exploit code, does not execute Jolokia exec, does not create connectors, does not load remote XML, and does not modify Broker state. The tool only performs read-only HTTP probes and optional local configuration checks, suitable for security inspections in authorized internal environments.
The tool does not rely solely on version numbers, but combines multiple types of evidence:
/api/jolokia/version is accessible;These checks are all read-only actions, aimed at helping to assess the exposure surface and prioritization of hardening.
Check version:
python3 activemq_cve_2026_34197_checker.py --version 5.18.3
Check Jolokia exposure surface:
python3 activemq_cve_2026_34197_checker.py --url http://127.0.0.1:8161
Check with authentication:
python3 activemq_cve_2026_34197_checker.py \
--url http://127.0.0.1:8161 \
--username admin \
--password admin
Scan local configuration directory:
python3 activemq_cve_2026_34197_checker.py --config-path /opt/activemq/conf
Combined check:
python3 activemq_cve_2026_34197_checker.py \
--version 5.18.3 \
--url http://127.0.0.1:8161 \
--config-path /opt/activemq/conf
The tool outputs JSON, with key fields including:
version: version input and version risk assessment;jolokia: Jolokia read-only probe results;config_path: local configuration scan path;findings: discovered risk points, levels, reasons, and evidence;remediation: remediation and hardening suggestions.Common risk signals include:
jolokia-access.xml policy too broad;It is recommended to prioritize upgrading Apache ActiveMQ Classic to the fixed versions:
5.19.4 or later;6.2.3 or later.Also recommended:
/api/jolokia/ and Web Console to only be accessible from trusted management network segments;jolokia-access.xml, disallow broad exec and sensitive MBean operations;This tool is not an exploit and not a vulnerability trigger. It will not:
exec;It is suitable as an auxiliary tool for internal security inspections, asset exposure verification, and hardening validation.