漏洞标题
AWS部署框架的潜在风险可能导致权限提升
漏洞描述信息
N/A
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
漏洞类别
特权管理不恰当
漏洞标题
aws-deployment-framework's potential risk can lead to privilege escalation
漏洞描述信息
The AWS Deployment Framework (ADF) is a framework to manage and deploy resources across multiple AWS accounts and regions within an AWS Organization. ADF allows for staged, parallel, multi-account, cross-region deployments of applications or resources via the structure defined in AWS Organizations while taking advantage of services such as AWS CodePipeline, AWS CodeBuild, and AWS CodeCommit to alleviate the heavy lifting and management compared to a traditional CI/CD setup. ADF contains a bootstrap process that is responsible to deploy ADF's bootstrap stacks to facilitate multi-account cross-region deployments. The ADF bootstrap process relies on elevated privileges to perform this task. Two versions of the bootstrap process exist; a code-change driven pipeline using AWS CodeBuild and an event-driven state machine using AWS Lambda. If an actor has permissions to change the behavior of the CodeBuild project or the Lambda function, they would be able to escalate their privileges.
Prior to version 4.0.0, the bootstrap CodeBuild role provides access to the `sts:AssumeRole` operation without further restrictions. Therefore, it is able to assume into any AWS Account in the AWS Organization with the elevated privileges provided by the cross-account access role. By default, this role is not restricted when it is created by AWS Organizations, providing Administrator level access to the AWS resources in the AWS Account. The patches for this issue are included in `aws-deployment-framework` version 4.0.0.
As a temporary mitigation, add a permissions boundary to the roles created by ADF in the management account. The permissions boundary should deny all IAM and STS actions. This permissions boundary should be in place until you upgrade ADF or bootstrap a new account. While the permissions boundary is in place, the account management and bootstrapping of accounts are unable to create, update, or assume into roles. This mitigates the privilege escalation risk, but also disables ADF's ability to create, manage, and bootstrap accounts.
CVSS信息
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
漏洞类别
特权授予不正确
漏洞标题
Amazon AWS Deployment Framework 安全漏洞
漏洞描述信息
Amazon AWS Deployment Framework是美国亚马逊(Amazon)公司的一个广泛而灵活的框架,用于管理和部署 AWS 组织内多个 AWS 账户和区域的资源。 Amazon AWS Deployment Framework 4.0.0之前版本存在安全漏洞,该漏洞源于引导 CodeBuild 角色无需授权即可访问 sts:AssumeRole,攻击者利用该漏洞可以跨账户访问角色提供的提升权限接管 AWS 组织中的任何 AWS 账户。
CVSS信息
N/A
漏洞类别
其他