SSRF in Apache Karaf
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
EPSS: 0.019 (78.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Apache Karaf
- N/a Apache Karaf — versions Apache Karaf up to 4.2.8
Weakness classification (CWE)
References
- security@apache.org (x_refsource_MISC, Vendor Advisory)
Frequently asked questions
- What is CVE-2020-11980?
- CVE-2020-11980 is a medium-severity vulnerability in Apache Karaf, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.3/10. Published 2020-06-12.
- How severe is CVE-2020-11980?
- Medium severity. CVSS v3 base score is 6.3 out of 10.