Vulnerability · Published Jun 12, 2020 · Assigned by apache
CVE-2020-11980
Medium 6.3
In plain English
A medium-severity security flaw in Apache Karaf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.karaf.management:org.apache.karaf.management.server | 4.2.9 | GHSA-9jg9-6wm2-x7p5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apache Karaf | Apache Karaf up to 4.2.8 |
References
- http://karaf.apache.org/security/cve-2020-11980.txt x_refsource_MISC