More Info:

All your AWS Key Management Service keys should be configured to be accessed only by trusted AWS accounts in order to protect against unauthorized cross account access. This will help prevent data breaches and loss.

Risk Level

High

Address

Security

Compliance Standards

AWSWAF

Triage and Remediation

Remediation

To remediate the KMS Keys Should Not Allow Unknown Cross Account Access misconfiguration for AWS using the AWS console, follow the below steps:

  1. Log in to the AWS Management Console.

  2. Go to the AWS Key Management Service (KMS) console.

  3. Click on the “Customer managed keys” link located in the left-hand menu.

  4. Select the KMS key that is not configured properly.

  5. Click on the “Key policy” tab.

  6. Click on the “Edit” button.

  7. In the “Principal” section, remove any unknown or unauthorized cross-account access.

  8. Add the appropriate AWS account IDs or IAM roles that should have access to the KMS key.

  9. Click on the “Review policy” button.

  10. Review the changes and ensure that they are correct.

  11. Click on the “Save changes” button.

  12. Verify that the KMS key is now properly configured by testing it with authorized access.

By following these steps, you will have successfully remediated the KMS Keys Should Not Allow Unknown Cross Account Access misconfiguration for AWS using the AWS console.

Additional Reading: