CVE-2020-11980
Reported by apache · Published June 12, 2020
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apache Karaf | Apache Karaf up to 4.2.8 |
| Maven | org.apache.karaf.management:org.apache.karaf.management.server | 0, 0, 0 |
| n/a | Apache Karaf | Apache Karaf up to 4.2.8, Apache Karaf up to 4.2.8, * |
| Maven | org.apache.karaf:karaf |
Exploit Intelligence
- documentation.html (github-poc)
- documentation.html (github-poc)
- documentation.html (github-poc)
- documentation.html (github-poc)
- documentation.html (github-poc)
Timeline
- Jun 12, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Jan 8, 2023 EPSS Score