AWSQuickSetupDeploymentRolePolicy

Last Modified

Sep 7, 2026

September 7, 2026 at 04:03 PM UTC

Version

v14

Total Versions

7

Created

Sep 7, 2026

Actions

60

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can grant itself more permissions

    Grants the actions of 2 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.

    • iam-005iam:PutRolePolicyscoped
      • iam:PutRolePolicy: condition aws:CalledVia, iam:PermissionsBoundary, on arn:aws:iam::*:role/AWS-QuickSetup-*, arn:aws:iam::*:role/AWSOperationsPack-*
    • iam-009iam:AttachRolePolicyscoped
      • iam:AttachRolePolicy: condition aws:CalledVia, iam:PolicyARN, on arn:aws:iam::*:role/AWS-QuickSetup-*, arn:aws:iam::*:role/AWSOperationsPack-*

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

  • Medium

    Can launch resources that run as a more privileged role

    Grants the actions of 2 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.

    • cloudformation-001iam:PassRole + cloudformation:CreateStackscoped
      • iam:PassRole: condition iam:PassedToService, on arn:aws:iam::*:role/AWS-QuickSetup-*, arn:aws:iam::*:role/AWSOperationsPack-*
      • cloudformation:CreateStack: on arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-*
    • cloudformation-005cloudformation:CreateChangeSet + cloudformation:ExecuteChangeSetscoped
      • cloudformation:CreateChangeSet: on arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-*
      • cloudformation:ExecuteChangeSet: on arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-*

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

  • Medium

    Can take over existing resources that run as another role

    Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.

    • cloudformation-002cloudformation:UpdateStackscoped
      • cloudformation:UpdateStack: on arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-*

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

IAM Access Analyzer (2)

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key aws:ResourceTag/QuickSetupID in the condition block of StringLike with {aws:ResourceTag/QuickSetupID: false} to ensure better enforcement of the condition. AWS docs

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key aws:ResourceTag/QuickSetupID in the condition block of StringLike with {aws:ResourceTag/QuickSetupID: false} to ensure better enforcement of the condition. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "CfnRead",
          "Effect": "Allow",
          "Action": [
            "cloudformation:DescribeStacks",
            "cloudformation:DescribeStackDriftDetectionStatus",
            "cloudformation:ListStacks"
          ],
          "Resource": [
            "*"
          ]
        },
        {
          "Sid": "CfnManage",
          "Effect": "Allow",
          "Action": [
            "cloudformation:CreateStack",
            "cloudformation:UpdateStack",
            "cloudformation:DeleteStack",
            "cloudformation:CreateChangeSet",
            "cloudformation:DeleteChangeSet",
            "cloudformation:ExecuteChangeSet",
            "cloudformation:DescribeChangeSet",
            "cloudformation:DescribeStackResourceDrifts",
            "cloudformation:DetectStackDrift",
            "cloudformation:DetectStackResourceDrift"
          ],
          "Resource": [
            "arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-*"
          ]
        },
        {
          "Sid": "CfnTagOnMutate",
          "Effect": "Allow",
          "Action": [
            "cloudformation:TagResource",
            "cloudformation:UntagResource"
          ],
          "Resource": [
            "arn:aws:cloudformation:*:*:stack/StackSet-AWS-QuickSetup-*"
          ],
          "Condition": {
            "StringEquals": {
              "cloudformation:CreateAction": [
                "CreateStack",
                "UpdateStack",
                "CreateChangeSet",
                "ExecuteChangeSet"
              ]
            }
          }
        },
        {
          "Sid": "RGroupsGet",
          "Effect": "Allow",
          "Action": [
            "resource-groups:GetGroupQuery"
          ],
          "Resource": [
            "*"
          ]
        },
        {
          "Sid": "CPacksRead",
          "Effect": "Allow",
          "Action": [
            "config:DescribeConformancePacks",
            "config:DescribeConformancePackStatus"
          ],
          "Resource": "*"
        },
        {
          "Sid": "OpsPacksManage",
          "Effect": "Allow",
          "Action": [
            "config:PutConformancePack",
            "config:DeleteConformancePack"
          ],
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          },
          "Resource": "arn:aws:config:*:*:conformance-pack/AWS-QuickSetup-*"
        },
        {
          "Sid": "QSDocsManage",
          "Effect": "Allow",
          "Action": [
            "ssm:CreateDocument",
            "ssm:UpdateDocument",
            "ssm:UpdateDocumentDefaultVersion",
            "ssm:DeleteDocument",
            "ssm:AddTagsToResource",
            "ssm:RemoveTagsFromResource",
            "ssm:ListTagsForResource"
          ],
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          },
          "Resource": [
            "arn:aws:ssm:*:*:document/AWSQuickSetup-*",
            "arn:aws:ssm:*:*:document/AWSOperationsPack-*",
            "arn:aws:ssm:*:*:document/AWSOperationsPackInstance-*"
          ]
        },
        {
          "Sid": "QSDocsRead",
          "Effect": "Allow",
          "Action": [
            "ssm:GetDocument"
          ],
          "Resource": [
            "arn:aws:ssm:*:*:document/AWSQuickSetup-*",
            "arn:aws:ssm:*:*:document/AWSOperationsPack*",
            "arn:aws:ssm:*::document/AWSConformancePacks-*",
            "arn:aws:ssm:*::document/AWSEC2-UpdateLaunchAgent",
            "arn:aws:ssm:*::document/AWS-ConfigureAWSPackage",
            "arn:aws:ssm:*::document/AWS-EnableExplorer",
            "arn:aws:ssm:*::document/AWS-GatherSoftwareInventory",
            "arn:aws:ssm:*::document/AWS-RunPatchBaselineAssociation",
            "arn:aws:ssm:*::document/AWS-UpdateSSMAgent",
            "arn:aws:ssm:*::document/AWSQuickSetupType-ManageInstanceProfile",
            "arn:aws:ssm:*::document/AWSQuickSetupType-EnableConfigRecording",
            "arn:aws:ssm:*::document/AWSQuickSetupType-Scheduler-ChangeCalendarState",
            "arn:aws:ssm:*::document/AmazonCloudWatch-ManageAgent",
            "arn:aws:ssm:*::document/AWSQuickSetupType-InstallAndManageCloudWatchAgent",
            "arn:aws:ssm:*::document/AWSQuickSetupType-ConfigureDevOpsGuru",
            "arn:aws:ssm:*::document/AWSQuickSetupType-DeployConformancePack",
            "arn:aws:ssm:*::document/AWSQuickSetupType-Scheduler-ApplyInstanceState"
          ]
        },
        {
          "Sid": "QSAssociationsManage",
          "Effect": "Allow",
          "Action": [
            "ssm:CreateAssociation",
            "ssm:UpdateAssociation",
            "ssm:DeleteAssociation",
            "ssm:DescribeAssociation"
          ],
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          },
          "Resource": [
            "arn:aws:ssm:*:*:document/AWSQuickSetup-*",
            "arn:aws:ssm:*:*:document/AWSOperationsPack*",
            "arn:aws:ssm:*::document/AWSEC2-UpdateLaunchAgent",
            "arn:aws:ssm:*::document/AWS-ConfigureAWSPackage",
            "arn:aws:ssm:*::document/AWS-EnableExplorer",
            "arn:aws:ssm:*::document/AWS-GatherSoftwareInventory",
            "arn:aws:ssm:*::document/AWS-RunPatchBaselineAssociation",
            "arn:aws:ssm:*::document/AWS-UpdateSSMAgent",
            "arn:aws:ssm:*::document/AWSQuickSetupType-ManageInstanceProfile",
            "arn:aws:ssm:*::document/AWSQuickSetupType-EnableConfigRecording",
            "arn:aws:ssm:*::document/AWSQuickSetupType-Scheduler-ChangeCalendarState",
            "arn:aws:ssm:*::document/AWSQuickSetupType-Scheduler-ApplyInstanceState",
            "arn:aws:ssm:*::document/AmazonCloudWatch-ManageAgent",
            "arn:aws:ssm:*::document/AWSQuickSetupType-InstallAndManageCloudWatchAgent",
            "arn:aws:ssm:*::document/AWSQuickSetupType-ConfigureDevOpsGuru",
            "arn:aws:ssm:*::document/AWSQuickSetupType-DeployConformancePack",
            "arn:aws:ec2:*:*:instance/*",
            "arn:aws:ssm:*:*:managed-instance/*",
            "arn:aws:ssm:*:*:association/*"
          ]
        },
        {
          "Sid": "EventRulesManage",
          "Effect": "Allow",
          "Action": [
            "events:DescribeRule",
            "events:PutRule",
            "events:DeleteRule",
            "events:ListTargetsByRule",
            "events:PutTargets",
            "events:RemoveTargets"
          ],
          "Resource": [
            "arn:aws:events:*:*:rule/*QuickSetup-*"
          ]
        },
        {
          "Sid": "CPacksSLRCreate",
          "Effect": "Allow",
          "Action": [
            "iam:CreateServiceLinkedRole"
          ],
          "Resource": [
            "arn:aws:iam::*:role/aws-service-role/config-conforms.amazonaws.com/AWSServiceRoleForConfigConforms"
          ],
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "config-conforms.amazonaws.com"
            }
          }
        },
        {
          "Sid": "SSMSLRCreate",
          "Effect": "Allow",
          "Action": [
            "iam:CreateServiceLinkedRole"
          ],
          "Resource": [
            "arn:aws:iam::*:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM"
          ],
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "ssm.amazonaws.com"
            }
          }
        },
        {
          "Sid": "QSConfigRoleManage",
          "Effect": "Allow",
          "Action": [
            "iam:CreateRole",
            "iam:GetRole",
            "iam:UpdateRole",
            "iam:DeleteRole",
            "iam:GetRolePolicy",
            "iam:ListAttachedRolePolicies",
            "iam:ListRolePolicies",
            "iam:ListRoleTags",
            "iam:TagRole",
            "iam:UntagRole"
          ],
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          },
          "Resource": [
            "arn:aws:iam::*:role/AWS-QuickSetup-*",
            "arn:aws:iam::*:role/AWSOperationsPack-*"
          ]
        },
        {
          "Sid": "QSConfigRolePass",
          "Effect": "Allow",
          "Action": [
            "iam:PassRole"
          ],
          "Resource": [
            "arn:aws:iam::*:role/AWS-QuickSetup-*",
            "arn:aws:iam::*:role/AWSOperationsPack-*"
          ],
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": [
                "ssm.amazonaws.com",
                "events.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "DocDescribe",
          "Effect": "Allow",
          "Action": [
            "ssm:DescribeDocument"
          ],
          "Resource": "*",
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "LegacyDocClean",
          "Effect": "Allow",
          "Action": [
            "ssm:DeleteDocument"
          ],
          "Resource": "*",
          "Condition": {
            "StringLike": {
              "aws:ResourceTag/QuickSetupID": "*"
            }
          }
        },
        {
          "Sid": "LegacyIAMClean",
          "Effect": "Allow",
          "Action": [
            "iam:DeleteRole",
            "iam:DeleteRolePolicy"
          ],
          "Resource": "arn:aws:iam::*:role/*QuickSetup-*",
          "Condition": {
            "StringLike": {
              "aws:ResourceTag/QuickSetupID": "*"
            }
          }
        },
        {
          "Sid": "QSConfigRoleBounded",
          "Effect": "Allow",
          "Action": [
            "iam:DeleteRolePolicy",
            "iam:PutRolePolicy",
            "iam:PutRolePermissionsBoundary"
          ],
          "Condition": {
            "StringEquals": {
              "iam:PermissionsBoundary": [
                "arn:aws:iam::aws:policy/AWSQuickSetupCFGCPacksPermissionsBoundary",
                "arn:aws:iam::aws:policy/AWSQuickSetupCFGRecordingPermissionsBoundary",
                "arn:aws:iam::aws:policy/AWSQuickSetupDevOpsGuruPermissionsBoundary",
                "arn:aws:iam::aws:policy/AWSQuickSetupDistributorPermissionsBoundary",
                "arn:aws:iam::aws:policy/AWSQuickSetupSchedulerPermissionsBoundary",
                "arn:aws:iam::aws:policy/AWSQuickSetupSSMHostMgmtPermissionsBoundary"
              ]
            },
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          },
          "Resource": [
            "arn:aws:iam::*:role/AWS-QuickSetup-*",
            "arn:aws:iam::*:role/AWSOperationsPack-*"
          ]
        },
        {
          "Sid": "QSConfigRoleManagedPolicies",
          "Effect": "Allow",
          "Action": [
            "iam:AttachRolePolicy",
            "iam:DetachRolePolicy"
          ],
          "Condition": {
            "ArnEquals": {
              "iam:PolicyARN": [
                "arn:aws:iam::aws:policy/AWSSystemsManagerEnableExplorerExecutionPolicy",
                "arn:aws:iam::aws:policy/AWSSystemsManagerEnableConfigRecordingExecutionPolicy",
                "arn:aws:iam::aws:policy/AWSQuickSetupManagedInstanceProfileExecutionPolicy",
                "arn:aws:iam::aws:policy/AWSQuickSetupStartStopInstancesExecutionPolicy",
                "arn:aws:iam::aws:policy/AWSQuickSetupStartSSMAssociationsExecutionPolicy"
              ]
            },
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "cloudformation.amazonaws.com"
              ]
            }
          },
          "Resource": [
            "arn:aws:iam::*:role/AWS-QuickSetup-*",
            "arn:aws:iam::*:role/AWSOperationsPack-*"
          ]
        }
      ]
    },
    "VersionId": "v14",
    "IsDefaultVersion": true,
    "CreateDate": "2026-09-07T15:07:07+00:00"
  }
}

Version History (11 recorded)

Raw history
v14updated

2 actions added

f212b03

AWSQuickSetupDeploymentRolePolicy - Policy Version v13

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

0ae37b3

AWSQuickSetupDeploymentRolePolicy - Policy Version v13

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

34815ce

AWSQuickSetupDeploymentRolePolicy - Policy Version v9

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

53bf2fc

AWSQuickSetupDeploymentRolePolicy - Policy Version v5

No recorded action delta - this version predates the change index. View the raw diff.

Dec 17, 2025

2388884

AWSQuickSetupDeploymentRolePolicy - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Nov 5, 2025

e307d82

AWSQuickSetupDeploymentRolePolicy - Policy Version v3

No recorded action delta - this version predates the change index. View the raw diff.

Aug 8, 2025

b583f13

AWSQuickSetupDeploymentRolePolicy - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Aug 8, 2025

76e9f05

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jun 10, 2025

e5113b7

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jun 26, 2024

aeb5a72