CVE-2021-26118:
Apache ActiveMQ Artemis vulnerable to Improper Access Control
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.76106%
CWE
Published
6/16/2021
Updated
9/11/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.activemq:artemis-openwire-protocol | maven | < 2.16.0 | 2.16.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from advisory messages being sent through an internal session that explicitly disabled security checks (via AMQSession.disableSecurity()
). The fireAdvisory
method leveraged this insecure session to bypass access control. The patch removed the special internal session handling and instead routed advisories through the normal post office with standard security checks. The removal of the 'internal' parameter in addSession
and the advisorySession
field in OpenWireConnection
confirms these were the entry points for the bypass.