GHSA-9jg9-6wm2-x7p5

    Dashboard / Vulnerabilities / GHSA-9jg9-6wm2-x7p5

    GHSA-9jg9-6wm2-x7p5

    Published: 10 Feb 2022Last Modified: 16 Feb 2024

    Summary: Server-Side Request Forgery in Karaf

    Details: 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.

    Affected packages

    Package

    Name: org.apache.karaf.management:org.apache.karaf.management.server

    Purl: pkg:maven/org.apache.karaf.management/org.apache.karaf.management.server

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.2.9

    Affected versions

    2.2.10
    2.2.11
    2.2.4
    2.2.5
    2.2.6
    2.2.7
    2.2.8
    2.2.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-9jg9-6wm2-x7p5 | CVE-DB