AWS REXのSSMドキュメントにroot実行の脆弱性、削除で対処
Summary
REXのサンプルスクリプトで作ったSSMドキュメントから、呼び出しを許可された認証済みユーザーがroot権限でコマンドを実行できます。スクリプトを実行した各アカウントとリージョンで、Rex-ROとRex-RWを削除してください。
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.
REXのサンプルスクリプトで作ったSSMドキュメントから、呼び出しを許可された認証済みユーザーがroot権限でコマンドを実行できます。スクリプトを実行した各アカウントとリージョンで、Rex-ROとRex-RWを削除してください。
Original description The description as published by the source.
OS command injection in the example SSM document provisioning script in Trusted Remote Execution (REX) before 2026-07-28 might allow an authenticated remote user who is permitted to invoke the Rex-RO or Rex-RW SSM document to execute arbitrary commands as root on the managed instance, bypassing Cedar policy enforcement.
To remediate this issue, users should delete any Rex-RO and Rex-RW SSM documents created from the example script, in each account and Region where it was run.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory staging.prod.website.marketing.aws.dev
- AWS aws.amazon.com
- web aws.amazon.com
- web github.com