More Info:

Ensure that cloud Storage buckets do not allow All Authenticated User Reads (“allAuthenticatedUsers” must not have “READER” roles)

Risk Level

High

Address

Security

Compliance Standards

NIST

Triage and Remediation

Remediation

To remediate the misconfiguration “Buckets Should Not Allow All Authenticated User Reads” for GCP using GCP console, follow the below steps:

  1. Open the GCP console and go to the Cloud Storage page.
  2. Select the bucket for which you want to remediate the misconfiguration.
  3. Click on the “Permissions” tab.
  4. Under the “Members” section, locate the “allAuthenticatedUsers” entry.
  5. Click on the pencil icon next to the “allAuthenticatedUsers” entry to edit its permissions.
  6. In the “Select a role” dropdown, select “Storage Legacy Bucket Reader”.
  7. Click on the “Save” button to save the changes.

By doing this, you are removing the read permission for all authenticated users and granting only the Storage Legacy Bucket Reader role permission to read the bucket.