CVE-2020-11980 – org.apache.karaf.management:org.apache.karaf.management.server
Package
Manager: maven
Name: org.apache.karaf.management:org.apache.karaf.management.server
Vulnerable Version: >=0 <4.2.9
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00514 pctl0.65608
Details
Server-Side Request Forgery in Karaf 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.
Metadata
Created: 2022-02-10T23:04:32Z
Modified: 2021-05-13T15:36:05Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-9jg9-6wm2-x7p5/GHSA-9jg9-6wm2-x7p5.json
CWE IDs: ["CWE-918"]
Alternative ID: GHSA-9jg9-6wm2-x7p5
Finding: F100
Auto approve: 1