This plugin ensures DynamoDB Cluster Accelerator DAX clusters have encryption enabled
Risk Level: Medium
Description
This plugin ensures DynamoDB Cluster Accelerator DAX clusters have encryption enabled. Encryption at rest secures DynamoDB DAX clusters from unauthorized access. For best security posture, encryption must be enabled for DAX clusters.
About the Service
Amazon DynamoDB: As per the AWS documentation, Amazon DynamoDB is a fully managed, NoSQL database designed to run high-performance applications at any scale. With the high-performing and serverless service, DynamoDB also offers utilities such as built-in security, continuous backups, and data export tools.
Impact
It is highly recommended to properly encrypt Amazon DynamoDB clusters with encryption-at-rest. In case, encryption is not enabled, the data will be visible to an attacker if compromised.
Steps to Reproduce
Using AWS Console-
- Log In to your AWS Console.
- Open the DynamoDB Management Console. You can use this link (https://console.aws.amazon.com/dynamodbv2) to navigate directly if already logged in.
- Move to the Clusters in the DAX section from the left navigation pane.
- A list of Clusters in the region will appear. Select the one you wish to examine by clicking on its Name.
- Move to the Settings Tab.
- In the Security Configuration section verify if the Encryption at rest is enabled or not. If not, the vulnerability exists.
- Repeat steps for all the Clusters you want to investigate.
Steps for Remediation
Create a new DAX cluster with encryption enabled:
- Log In to your AWS Console.
- Open the DynamoDB Management Console. You can use this link (https://console.aws.amazon.com/dynamodbv2) to navigate directly if already logged in.
- Move to the Clusters in the DAX section from the left navigation pane.
- Click on Create Cluster.
- Specify the details as per requirements. In Step 3 (Configure Security) section, keep both the encryption options as checked.
- Proceed with the steps to create a new cluster. Eventually change the cluster endpoint configuration to that of the dynamoDB application you are using.
- Now select the vulnerable cluster by clicking on the checkbox next to it.
- Click on the Delete option to safely delete the cluster.
- Repeat steps for all the vulnerable clusters.