Unvalidated S3 Bucket Ownership Low

Performing S3 operations like CreateBucket, CopyObject, PutObject, etc. without specifying ExpectedBucketOwner or ExpectedSourceBucketOwner omits validation of bucket ownership. This could result in accidentally accessing the wrong bucket, such as using a test bucket in production. Setting the expected owner enables verifying the target bucket is owned by the intended account before access. Skipping this validation means S3 buckets may be used without certainty they belong to the expected owner.

Detector ID
go/s3-verify-bucket-owner@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-