CVE-2020-11980

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*

History

07 Jan 2021, 19:02

Type Values Removed Values Added
CVSS v2 : 6.5
v3 : 8.8
v2 : 6.5
v3 : 6.3

Information

Published : 2020-06-12 22:15

Updated : 2023-12-10 13:27


NVD link : CVE-2020-11980

Mitre link : CVE-2020-11980

CVE.ORG link : CVE-2020-11980


JSON object : View

Products Affected

apache

  • karaf
CWE
CWE-918

Server-Side Request Forgery (SSRF)