luci-app-adblock-fast a WebUI для быстрого, легкого DNS-блокировщика рекламы для OpenWrt, который работает с dnsmasq, smartdns или несвязанным. До 1.2.4-2 метод luci.adblock-fast.setCronEntry RPC принимает аргумент входа, содержащий символы возврата каретки или строки, и сериализует его в /etc/crontabs/root, как если бы это была одна логическая строка. Аутентифицированный делегированный пользователь с luci-app-adblock-fast пишет ACL, поэтому может создавать дополнительный физический корневой cron-вход через applications/luci-app-adblock-fast/root/usr/share/rpcd/ucode/luci.adblock-fast, что приводит к постоянному выполнению команды как UID 0 при запуске cron.
Проблема не продемонстрирована для неаутентифицированных абонентов или пользователей без компонента write ACL. Уязвимость исправлена в 1.2.4-2.
Показать оригинальное описание (EN)
luci-app-adblock-fast a WebUI for fast, lightweight DNS-based ad-blocker for OpenWrt that works with dnsmasq, smartdns, or unbound. Prior to 1.2.4-2, the luci.adblock-fast.setCronEntry RPC method accepts an entry argument containing carriage-return or line-feed characters and serializes it into /etc/crontabs/root as though it were one logical line. An authenticated delegated user with the luci-app-adblock-fast write ACL can therefore create an additional physical root cron entry through applications/luci-app-adblock-fast/root/usr/share/rpcd/ucode/luci.adblock-fast, resulting in persistent command execution as UID 0 when cron runs. The issue is not demonstrated for unauthenticated callers or users without the component write ACL. This vulnerability is fixed in 1.2.4-2.
Характеристики атаки
Последствия
Строка CVSS v3.1