CVE-2024-28056
Summary
| CVE | CVE-2024-28056 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-15 18:15:10 UTC |
| Updated | 2026-09-04 14:13:32 UTC |
| Description | Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify projects. When the Authentication component is removed from an Amplify project, a Condition property is removed but "Effect":"Allow" remains present, and consequently sts:AssumeRoleWithWebIdentity would be available to threat actors with no conditions. Thus, if Amplify CLI had been used to remove the Authentication component from a project built between August 2019 and January 2024, an "assume role" may have occurred, and may have been leveraged to obtain unauthorized access to an organization's AWS resources. NOTE: the problem could only occur if an authorized AWS user removed an Authentication component. (The vulnerability did not give a threat actor the ability to remove an Authentication component.) However, in realistic situations, an authorized AWS user may have removed an Authentication component, e.g., if the objective were to stop using built-in Cognito resources, or move to a completely different identity provider. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-276 | n/a | CWE-276 CWE-276 Incorrect Default Permissions
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Amazon | Aws Amplify Cli | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | N/a | affected n/a | Not specified |
| ADP | Aws | Amplify Cli | affected 12.10.1 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/aws-amplify/amplify-cli/blob/8ad57bf99a404f3c92547c8a17545801... | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| github.com/aws-amplify/amplify-cli/releases/tag/v12.10.1 | af854a3a-2127-422b-91ae-364da2661108 | github.com | Release Notes |
| securitylabs.datadoghq.com/articles/amplified-exposure-how-aws-flaws-made-amplify-iam-ro... | af854a3a-2127-422b-91ae-364da2661108 | securitylabs.datadoghq.com | Exploit, Third Party Advisory |
| github.com/aws-amplify/amplify-cli/commit/73b08dc424db2fb60399c5343c314e... | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| aws.amazon.com/security/security-bulletins/AWS-2024-003 | af854a3a-2127-422b-91ae-364da2661108 | aws.amazon.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.