| name | cis-aws-database-2.1 |
| description | Ensure the Use of Security Groups |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","aurora","security-groups","vpc","network","firewall"] |
| cis_id | 2.1 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-2.9"] |
| prerequisites | [] |
| severity_boost | {} |
2.1 Ensure the Use of Security Groups (Manual)
Description
Security groups act as a firewall for associated Amazon RDS DB instances, controlling both inbound and outbound traffic.
Rationale
Creating your severity group either inbound or outbound rules. Inbound rules allow an individual to create a rule that permits the traffic to go to a specific port depending on which source it's coming from. Outbound rules enable your instances to connect with one another allow them to connect to the internet. If needed, you can limit the outgoing traffic.
Impact
Without properly configured security groups, the Aurora database instance may be accessible from unintended sources or may not be able to communicate with required services.
Audit Procedure
Using AWS Console
- Open the Amazon Console
- Go to Aurora and RDS (https://console.aws.amazon.com/rds/)
- Click on Databases
- For each database instance click the name of the instance and check that there is at least one VPC security group under Connectivity & security -> Security -> VPC security groups
Expected Result
Each Aurora DB instance should have at least one VPC security group associated with it, with appropriate inbound and outbound rules configured.
Remediation
Using AWS Console
Here is a step-by-step guide on how to create and use Security Groups for an Amazon Aurora instance:
-
Sign in to AWS Management Console
-
Navigate to Amazon EC2 Dashboard
- Once you have logged in to the AWS Management Console, navigate to the EC2 service. You can find this under the
Compute category.
-
Create a New Security Group
- In the EC2 Dashboard, find the
Network & Security section on the left-side navigation pane, then click Security Groups.
- Click on the
Create Security Group button.
-
Configure the New Security Group
- In the
Create Security Group panel, give your new security group a name and a description.
- Select the VPC in which your Amazon Aurora instance will be deployed.
- Then click .