Skip to content
High 8.8

Apache Karafに認証済みユーザーが管理者権限なしで任意のバンドルを導入できる脆弱性

CVE-2026-130808 First seen on SecPulse

Summary

Apache Karafの4.4.12以前では、sshとviewerのロールだけを持つ認証済みのSSHユーザーが、feature:requirement-addコマンドで任意のバンドルを導入できる脆弱性が見つかりました。導入されたバンドルはKaraf JVMの全権限で動作するため、影響は大きいものです。修正版の4.4.13または4.5.0へ更新するか、公式の案内にある設定を追加してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Apache Karafの4.4.12以前では、sshとviewerのロールだけを持つ認証済みのSSHユーザーが、feature:requirement-addコマンドで任意のバンドルを導入できる脆弱性が見つかりました。導入されたバンドルはKaraf JVMの全権限で動作するため、影響は大きいものです。修正版の4.4.13または4.5.0へ更新するか、公式の案内にある設定を追加してください。

Affected packages

PackageAffected → Fixed
Apache Software FoundationApache Karaf
≤ 4.4.12→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

In Apache Karaf, the default command ACL configuration for the feature scope (etc/org.apache.karaf.command.acl.feature.cfg, defined in assemblies/features/standard/src/main/feature/feature.xml and the child-instance template instance/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.command.acl.feature.cfg) restricts feature:install, feature:uninstall, feature:start, and feature:stop to users with the admin role, while leaving feature:requirement-add and feature:requirement-remove without ACL entries.

Because Karaf's command guard (SecuredSessionFactoryImpl) allows commands with no matching ACL rule (NO_MATCH) to execute, an authenticated SSH user holding only the ssh and viewer roles can execute feature:requirement-add bundle: (or feature:). RequirementAdd forwards the requirement directly to FeatureService.addRequirements(), causing the resolver to download, install, and start an arbitrary bundle with the Karaf JVM process's full authority, bypassing the admin-only restrictions on feature:install and bundle:install. Similarly, feature:requirement-remove allows removing provisioning requirements and uninstalling features/bundles.

MitigationUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.

For existing deployments or upgrades that preserve existing files in etc/, add the following rules to etc/org.apache.karaf.command.acl.feature.cfg (and any child instance etc/org.apache.karaf.command.acl.feature.cfg files):

requirement-add = adm…

Source: oss-security (Openwall) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details