AWS-S3-bucket-public-policy-block-cross-account-access
Severity: High
Description: This control ensures that bucket level public access setting 'Block public and cross-account access if bucket has public policies' is set to true. The bucket level public access setting 'Block public and cross-account access if bucket has public policies' blocks public and cross-account access to the bucket by overriding existing bucket policy.
Remediation Steps:
Perform following to update S3 bucket public and cross account access :
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to s3Â console.
In the navigation pane,  select buckets.
Click on the bucket to be modified, click permissions.
Click Public access settings.
Click edit.
In Manage public bucket policies section, check the box for Block public and cross-account access to buckets and objects through any public bucket or access point policies.
Choose Save.
When asked for confirmation, enter confirm. Then choose Confirm to save changes.
Important:
S3 now refers this option as "Block public and cross-account access to buckets and objects through any public bucket or access point policies".
Reference:
CIS Amazon Web Services Foundations Benchmark v1.3.0 - 08-07-2020: Recommendation #1.20
Configuring block public access settings for your S3 buckets - Amazon Simple Storage Service
Blue Hexagon Proprietary