脆弱性ウォッチ

新着 / 2026年11月26日 / CVE-2026-134070

AWS Systems Manager Automation runbookの入力検証不備による設定改ざんの問題

重要 7.2

掲載

何が問題か

AWSが提供するSystems Manager AutomationのRunbook「AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3」で入力検証の不備があり、Runbookを実行できる認証済みユーザーが、細工したS3KeyPrefixの値を通じて、リージョンごとのSession Managerの設定ドキュメント(SSM-SessionManagerRunShell)に意図しない設定を入れられる可能性があります。この問題は、そのドキュメントが該当リージョンに存在しない場合にのみ当てはまります。注入された設定にはコマンドが含まれる可能性があり、他のユーザーがセッションを開始した際に管理対象インスタンス上で実行される恐れがあります。

悪用されると

悪用された場合、Session Managerのセッションを開始した他のユーザーのインスタンス上で、意図しないコマンドが実行される可能性があります。影響の範囲については公表されていません。

取るべき対応

各リージョンで最新リビジョンのRunbookを実行し、古いリビジョンを参照する自動化を更新してください。また、古いリビジョンの実行権限を信頼できないユーザーから外すか、各リージョンに信頼できるSSM-SessionManagerRunShellを作成し、既存の設定に不審な項目がないか確認してください。

AIが出典から要約し、数値を機械照合しています。

更新履歴

  1. 初回掲載。

指標

深刻度(CVSS v4.0)重要 7.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
実際の攻撃での悪用CISA KEVには未掲載
問題の種類CWE-96
CVE公開日2026-11-25

出典

公式の説明(英語の原文)

Improper input validation in the AWS-managed AWS Systems Manager Automation runbook AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 might allow an authenticated remote user who is permitted to run the runbook to set unintended configuration in the account's Regional Session Manager preferences document (SSM-SessionManagerRunShell) via a crafted S3KeyPrefix parameter value. This applies only when that document does not already exist in the Region. The unintended configuration can include arbitrary commands, which then run on managed instances when other users start Session Manager sessions. Because any user permitted to run the runbook selects which revision to run, this issue remains reachable in an affected Region until earlier revisions can no longer be run there. AWS is deprecating all revisions created before 2026-10-22 (UTC) in every Region and partition beginning January 15, 2027; until deprecation, earlier revisions remain runnable, so upgrading alone is not sufficient. To remediate this issue: 1. Run the latest revision of the runbook. The latest revision is the fixed revision in every Region where the runbook is available, and its revision number varies by Region. To find it, run aws ssm describe-document --name AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 --region <region> --query "Document.LatestVersion". Update any Automation executions, State Manager associations, AWS Config remediation configurations, or other automations pinned to an earlier revision to use the latest revision. 2. Until earlier revisions are removed in your Region, either keep untrusted users from running earlier revisions of the runbook, or keep a trusted Session Manager preferences document (SSM-SessionManagerRunShell) in every Region. Earlier revisions inject only when they create this document, so while a trusted one exists, this path is closed in that Region. 3. Review your Session Manager preferences document (SSM-SessionManagerRunShell) in any Region where it was first created by an earlier revision of this runbook, not by you. To check, look for any run of this runbook that failed with "DOCUMENT CREATE OR UPDATE FAILED." An injected run always fails with this error. You can also compare the creation date of the document's first version with the start times of runs of this runbook in that Region. Check the document for settings you did not configure, especially shellProfile, Run As (runAsEnabled, runAsDefaultUser), maxSessionDuration, idleSessionTimeout, and the logging destination fields. The fixed runbook updates only the S3 bucket and prefix fields of an existing preferences document, so settings injected earlier remain until you remove them. If you find unexpected settings, restore your trusted preferences and review instances on which Session Manager sessions were started while those settings were active. The AWS Security Bulletin includes commands for this review.