First published: Fri Jun 12 2020(Updated: )
In Karaf, JMX authentication takes place using JAAS and authorization takes place using ACL files. By default, only an "admin" can actually invoke on an MBean. However there is a vulnerability there for someone who is not an admin, but has a "viewer" role. In the 'etc/jmx.acl.cfg', such as role can call get*. It's possible to authenticate as a viewer role + invokes on the MLet getMBeansFromURL method, which goes off to a remote server to fetch the desired MBean, which is then registered in Karaf. At this point the attack fails as "viewer" doesn't have the permission to invoke on the MBean. Still, it could act as a SSRF style attack and also it essentially allows a "viewer" role to pollute the MBean registry, which is a kind of privilege escalation. The vulnerability is low as it's possible to add a ACL to limit access. Users should update to Apache Karaf 4.2.9 or newer.
Credit: security@apache.org security@apache.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/Apache Karaf | <4.2.9 | 4.2.9 |
Apache Karaf | <4.2.9 | |
maven/org.apache.karaf.management:org.apache.karaf.management.server | <4.2.9 | 4.2.9 |
It's possible to add a JMX ACL in etc configuration to limit access.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-11980 is a vulnerability in Apache Karaf which allows unauthorized users with a 'viewer' role to execute operations on MBeans.
Karaf uses JAAS for authentication and ACL files for authorization in the JMX system.
By default, only an 'admin' user can invoke operations on MBeans in Karaf.
To mitigate CVE-2020-11980, make sure to update Apache Karaf to version 4.2.9 or higher.
The severity of CVE-2020-11980 is high, with a CVSS score of 8.8.