Командная инъекция в помощнике обслуживания documentserver-flush-cache.sh в ONLYOFFICE Docs (Document Server) 9.4.0-129 на официальном контейнере onlyoffice/documentserver позволяет локальному злоумышленнику с выполнением команды в качестве пользователя ds выполнять произвольные команды как root с помощью аргумента crafted-hash, который интерполируется неподтвержденным в sed-выражение GNU, где sed e flag выполняет управляемые злоумышленником команды. Пакетная политика sudoers позволяет ds запускать помощник как root без пароля и с неограниченными аргументами.
Показать оригинальное описание (EN)
Command injection in the documentserver-flush-cache.sh maintenance helper in ONLYOFFICE Docs (Document Server) 9.4.0-129 on the official onlyoffice/documentserver container allows a local attacker with command execution as the ds user to execute arbitrary commands as root via a crafted --hash argument that is interpolated unvalidated into a GNU sed expression, where the sed e flag runs attacker-controlled commands. The packaged sudoers policy permits ds to run the helper as root without a password and with unrestricted arguments.
Характеристики атаки
Последствия
Строка CVSS v3.1