概要
同じ機器の一般ユーザーが仕込み、管理者が補助ツールを root で実行すると、攻撃者の命令を実行されるおそれ。
元の説明(英語)を読む
NGINX Unit 1.29.0 through 1.35.0 and the FreeUnit fork before 1.37.2 contain an OS command injection vulnerability in the tools/setup-unit helper, where unit_cmd() takes the unitd command line from the bracketed text in the title of any process whose ps output contains 'unit: main', without checking who owns that process. unit_sock_find() and unit_ctl_welcome() run that text as a command, and from 1.31.0 unit_restart() passes it to eval. Local unprivileged users can start a process titled like the unitd main process, so that an administrator who runs setup-unit as root, for example 'setup-unit ctl' without -s, 'sock find' or 'restart', executes a program or shell commands chosen by the attacker as root.
影響を受ける人
NGINX Unit 1.29.0〜1.35.0、FreeUnit 1.37.2 未満の管理者
対策
- FreeUnit を 1.37.2 以降に更新する。
- NGINX Unit はベンダーの告知を確認する。
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。