Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
ec2_securitygroup_allow_ingress_from_internet_to_tcp_port_cassandra_7199_9160_8888Provider: AWS
Service:
ec2Severity: HIGH
Categories:
internet-exposedResource type:
AwsEc2SecurityGroupWhat this check verifies
EC2 security groups are evaluated for inbound rules that allow the Internet (0.0.0.0/0 or ::/0) to reach Cassandra ports 7199, 9160, or 8888.
Focuses on tcp rules that expose these ports to public sources.
Risk
Exposed Cassandra interfaces (7199 JMX, 9160 Thrift, 8888 tools) enable:
- Unauthorized reads of data/metrics (confidentiality)
- Schema and cluster changes (integrity)
- Remote operations causing outages (availability)
Recommendation
Restrict ingress on7199, 9160, 8888 to trusted sources:
- Enforce least privilege allow-lists; avoid
0.0.0.0/0and::/0 - Place nodes in private subnets; use VPN or a bastion for admin
- Prefer strong auth and mTLS; bind management to internal interfaces
- Apply defense in depth with segmentation (north-south and east-west)
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
- https://support.icompaas.com/support/solutions/articles/62000127020-ensure-security-groups-do-not-allow-unrestricted-ingress-access-to-cassandra-ports-7199-or-9160-or-88
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = ec2_securitygroup_allow_ingress_from_internet_to_tcp_port_cassandra_7199_9160_8888. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks