CVE-2020-11980

Medium

Description

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductApache Karaf
PublishedJun 12, 2020
First seenJun 12, 2020

How to fix

Update
  • apache karaf4.2.9 or later
  • org.apache.karaf.management:org.apache.karaf.management.server4.2.9 or later

Affected products

ProductAffected versionsFixed in
apache karafv < 4.2.94.2.9
org.apache.karaf.management:org.apache.karaf.management.serverMavenv < 4.2.94.2.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-11980 · Apache Karaf · Dark Radar