logo

Database

Aws Unrestricted Security Groups

Description

Detects AWS RDS database instances that are potentially exposed to the internet through overly permissive VPC security group rules. This vulnerability occurs when security groups attached to RDS instances contain inbound rules with the CIDR range 0.0.0.0/0, which allows unrestricted access from any IP address.

Weakness:

109 - Unrestricted access between network segments - RDS

Category: Functionality Abuse

Detection Strategy

    Enumerates all RDS database instances in the specified AWS region

    Identifies VPC security groups attached to each RDS instance

    Inspects the inbound rules (IpPermissions) of each security group

    Reports a vulnerability if any security group rule contains the CIDR range 0.0.0.0/0