🇰🇷 한글 설명
Apache ActiveMQ 브로커에서 입력값 검증 미흡 및 코드 인젝션 취약점이 발견되었습니다. 인증된 공격자가 이전 패치(CVE-2026-34197)를 우회하여 원격 Spring XML 설정을 로드하고 브로커 JVM에서 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
로그인한 공격자가 메시지 브로커 설정을 조작해 서버 안에서 원하는 명령을 실행할 수 있는 문제입니다. 이전 보안 패치를 우회할 수 있어 즉시 업데이트가 필요합니다.
🇺🇸 원문 (English)
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.
An authenticated attacker may bypass the fix in CVE-2026-34197 by adding a connector using an HTTP Discovery transport via BrokerView.addNetworkConnector or BrokerView.addConnector through Jolokia if the activemq-http module is on the classpath.
A malicious HTTP endpoint can return a VM transport through the HTTP URI which will bypass the validation added in CVE-2026-34197. The attacker can then use the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext.
Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec().
This issue affects Apache ActiveMQ Broker: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5.
Users are recommended to upgrade to version 5.19.6 or 6.2.5, which fixes the issue.
📍 영향받는 시스템
Apache ActiveMQ Broker/All/ActiveMQ 5.19.6 미만 및 6.0.0~6.2.5 미만 버전
⚔️ 공격 벡터
인증된 사용자가 Jolokia로 HTTP Discovery 커넥터를 추가하고, 악성 HTTP 엔드포인트가 반환한 VM 트랜스포트의 brokerConfig로 원격 Spring XML을 로드하여 코드 실행
🛡️ 대응 방법
ActiveMQ를 5.19.6 또는 6.2.5 이상으로 업그레이드하고, 불필요한 Jolokia 접근을 제한
🔧 검증 코드
출력된 버전이 5.19.6 또는 6.2.5 이상이면 패치 적용된 상태이며, 그 미만이면 취약한 버전이므로 업그레이드가 필요합니다.
dpkg -l activemq 2>/dev/null | grep -E 'activemq'; ls /opt/*activemq*/lib/activemq-broker-*.jar 2>/dev/null
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
Cisco Secure Endpoint Connector