CVE-2024-28056CWE-276

CVE-2024-28056

Critical · published April 15, 2024

CVSS v3.1
9.8
EPSS
2%
Percentile
76.4
In the wild
Unconfirmed
What it is

🔥 An authorized AWS user might accidentally leave the door wide open! When the Authentication component is removed from an AWS Amplify project, a sneaky trust policy flaw allows attackers to assume roles without restrictions. ⚡ Imagine you’re at a hotel, and an authorized guest checks out but forgets to return their keycard. Suddenly, anyone with that keycard can access the rooms, including yours! This vulnerability does just that with IAM roles when the Authentication component is removed from an Amplify project, potentially exposing your AWS resources. The stakes are high! If an attacker were to exploit this vulnerability, they could gain unauthorized access to sensitive AWS resources, altering or stealing data and wreaking havoc on your cloud environment. This could lead to data breaches or even service disruptions—absolutely devastating for any organization!

Put simply

Imagine you’re at a hotel, and an authorized guest checks out but forgets to return their keycard. Suddenly, anyone with that keycard can access the rooms, including yours! This vulnerability does just that with IAM roles when the Authentication component is removed from an Amplify project, potentially exposing your AWS resources. CVE-2024-28056 is a flaw in AWS Amplify CLI versions before 12.10.1, where the removal of the Authentication component inadvertently leaves the role trust policy too permissive, allowing unauthorized role assumption through sts:AssumeRoleWithWebIdentity without conditions.

What to do

The stakes are high! If an attacker were to exploit this vulnerability, they could gain unauthorized access to sensitive AWS resources, altering or stealing data and wreaking havoc on your cloud environment. This could lead to data breaches or even service disruptions—absolutely devastating for any organization! To remediate this, update your AWS Amplify CLI to version 12.10.1 or later immediately. Review and audit IAM roles that may be affected, and consider implementing stricter role policies to secure your AWS resources. Don't wait—act now! You've got this! With these steps, you can fortify your AWS environment and protect it from accidental exploits! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01665 · 76.4th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2024-04-15T22:15Z
Affected products (1)
ProductVersionsFixed in
amazon/aws_amplify_cli< 12.10.112.10.1
References (10)
EPSS history
Timeline
  • 15 APR 00:00Z
    Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify projects
    cvelistv5