Follow Cyber Kendra on Google News! | WhatsApp | Telegram

AWS Support may gets Unattended Access to Millions of AWS S3 Buckets.

AWS Support may got access to user's S3 data.

S3 Buckets leak, S3 Buckets security

Last Wednesday, Amazon AWS supports team deployed a new version of AWSSupportServiceRolePolicy v20,  used by a mandatory role for AW Support access to all AWS Accounts. In this policy, they added the action: s3:getObject which gives access to all customer data by AWS Support teams.

Later some hours AWS team have reverted the change and made the v19 version (old version) the default version for everyone. When the AWS security guys detected the change of AWSSupportServiceRolePolicy they came up with the awareness tweet.

AWSSupportServiceRolePolicy

Victor Grenu, an independent AWS cloud security with a Twitter handle @zoph twittered about the changing incident that took place in AWS cloud with the warning message -

Further, he added-  users can't delete the Support role and also cannot use SCPs on service-linked-role.

After this, the Amazon AWS team released a statement regarding this unexpected behavior. 

Between December 21, 2021 at 23:48 UTC and December 22, 2021 at 08:23 UTC, the policy used by AWS Support automated systems - AWSSupportServiceRolePolicy - inadvertently included S3:GetObject permissions. This change has been reverted. While these permissions were temporarily present, they were not and could not be used - only a tightly controlled set of AWS support systems may assume the AWSSupportService role, and these systems do not provide the capability to access S3 objects even if permission is granted to the role.

AWS team mentioned that the support team cannot access the user's S3 buckets - "systems do not provide the capability to access S3 objects even if permission is granted to the role".

What to do to Secure your S3 Bucket

To prevent unattended access from the AWS Support team, users can perform a couple of things-

  • You should enable CloudTrail S3 Events (it could be costly for accounts with a lot of S3 object movements).
  • Enable server access logs - you will not have a full picture here as some info is missing.
  • You can use KMS-CMK to control access.
  • You can limit resource policy (buckets).

After this incident, even the AWS team said that they are implementing additional safeguards to prevent the Support policy from inadvertently granting data access permissions. All changes to AWS Managed Policies are publicly visible and all access to S3 objects are recorded in S3 server access logs and CloudTrail data events. 

1 comment

  1. that's an amazing article