Ensure Security Group attached to ELB instance does not allow inbound traffic from all to TCP 27017 (MongoDB)

Error: Security Group attached to ELB instance allows inbound traffic from all to TCP 27017 (MongoDB)

Bridgecrew Policy ID: BC_AWS_NETWORKING_23
Severity: HIGH

Security Group attached to ELB instance allows inbound traffic from all to TCP 27017 (MongoDB)

Description

Elastic Load Balancer (ELB).
To prevent data theft and data loss, all Mongo DBs should be protected with an access control mechanism.

Fix - Runtime

Procedure

Disable anonymous access to MongoDB.


Did this page help you?