AWS-DocumentDB-clusters-listening-deafult-port
Severity: Low
Description: This control  checks the port for the database cluster and ensures that listening port is not default port. Configuring database clusters to listen to non-default port can prevent malicious traffic from reaching the targeted database. Additionally, when applications are configured to listen to non-default ports, attackers/malicious-users will require to initiate network scans which may delay actual attack attempt/payload and increase the probability of network anomaly detection an opportunity to administrators to take compensatory actions like blocking malicious-users/IPs.
Remediation Steps:
Perform following to update DocumentDB cluster listening port:
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to DocumentDB console.
On left Navigation pane, click Clusters.
Select database Cluster to configure.
Click on Cluster Actions and choose Modify.
In section Database Options, set Database Port to a non-default port.
Click Continue.
Click Modify DB Cluster.
Important:
Changing database port restarts the database instantly.
Changing the database port will break communication between database and dependent applications. Connection strings configured will require modification.Â
Security Groups associated with Database instance will need an update to allow inbound traffic to the database.Â
Security groups/firewalls associated with applications communicating with the database may need an update to allow inbound traffic to the database.
Reference:
Â
Blue Hexagon Proprietary