Skip to content
High 8.8

Apache Karafに認証を回避される脆弱性、閲覧者権限で任意のコードを実行されるおそれ

CVE-2026-124615 First seen on SecPulse

Summary

Apache Karafのfeature:requirement-addとfeature:requirement-removeコマンドに管理者権限の制限がかかっておらず、閲覧者権限のユーザーが任意のバンドルを導入して実行できるおそれがあります。影響を受けるのは4.4.12以前の版で、4.4.12または4.5.0以降の修正版で対応できます。修正版にすぐ更新できない場合は、設定ファイルに2行を追加する回避策があります。

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のfeature:requirement-addとfeature:requirement-removeコマンドに管理者権限の制限がかかっておらず、閲覧者権限のユーザーが任意のバンドルを導入して実行できるおそれがあります。影響を受けるのは4.4.12以前の版で、4.4.12または4.5.0以降の修正版で対応できます。修正版にすぐ更新できない場合は、設定ファイルに2行を追加する回避策があります。

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.

The shell command ACL for the feature scope (etc/org.apache.karaf.command.acl.feature.cfg) restricts feature:install, feature:uninstall, feature:start and feature:stop to the admin role, but had no entry for feature:requirement-add or feature:requirement-remove.

The provisioning resolver turns a requirement into the same install/start (or uninstall) action as feature:install / feature:uninstall: a bundle: requirement causes an arbitrary bundle to be downloaded and started, and a feature: requirement installs that feature. Because the two commands had no ACL, a user authenticated with only the viewer (and ssh) role could invoke them and cause Apache Karaf to download, install and start an attacker-chosen bundle, which then runs with the full authority of the Karaf process — thereby bypassing the admin-only authorization enforced on feature:install and bundle:install.

This is the same class of issue as the feature:repo-add -i / feature:repo-remove -u bypass, on sibling commands not covered by that earlier fix.Mitigation:Upgrade to Apache Karaf 4.4.12 or 4.5.0 (or later), which restrict feature:requirement-add and feature:requirement-remove to the admin role.

As an interim workaround on affected versions, add the following two lines to etc/org.apache.karaf.command.acl.feature.cfg; the change is picked up at runtime without a restart:

requirement-add = admin

requirement-remove = admin

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