CVE Vulnerabilities

CVE-2020-11980

Server-Side Request Forgery (SSRF)

Published: Jun 12, 2020 | Modified: Jan 07, 2021
CVSS 3.x
6.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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*. Its 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 doesnt 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 its possible to add a ACL to limit access. Users should update to Apache Karaf 4.2.9 or newer.

Weakness

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Affected Software

Name Vendor Start Version End Version
Karaf Apache * 4.2.9 (excluding)

References