Ad

CVE-2026-124615

NONE
Обновлено 24 ноября 2026
Apache
Параметр Значение
Тип уязвимости CWE-863 (Неправильная авторизация)
Поставщик Apache
Публичный эксплойт Нет

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. Растворитель инициализации превращает требование в то же действие установки / запуска (или удаления) в качестве функции:install / feature:uninstall: bundle: requirement вызывает загрузку и запуск произвольного пакета, а функция: requirement устанавливает эту функцию. Поскольку у двух команд не было ACL, пользователь, аутентифицированный только с ролью зрителя (и ssh), мог вызвать их и заставить Apache Karaf загрузить, установить и запустить пакет, выбранный злоумышленником, который затем работает с полным правом процесса Karaf, тем самым минуя авторизацию только администратора, принудительно наложенную на функцию:install и пакет:install.

Это тот же класс проблем, что и feature:repo-add -i / feature:repo-remove -u boypass, по командам, не охваченным этим более ранним исправлением.Смягчение:Обновление до Apache Karaf 4.4.12 или 4.5.0 (или более поздней версии), которые ограничивают feature:requirement-admove к роли администратора. В качестве промежуточного обходного пути для затронутых версий добавьте следующие две строки в etc/org.apache.karaf.command.acl.feature.cfg; изменение подбирается во время выполнения без перезагрузки: requirement-add admin require-remove admin

Показать оригинальное описание (EN)

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

Уязвимые продукты

apache software foundation:apache karaf