Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
ec2_securitygroup_allow_ingress_from_internet_to_tcp_port_memcached_11211Provider: AWS
Service:
ec2Severity: HIGH
Categories:
internet-exposedResource type:
AwsEc2SecurityGroupWhat this check verifies
EC2 security groups are evaluated for inbound rules that permit Internet-sourced access toTCP 11211 (Memcached) from 0.0.0.0/0 or ::/0.
Risk
Exposed Memcached enables unauthenticated access, impacting CIA:- Confidentiality: read cached data (sessions, secrets)
- Integrity: modify or poison entries
- Availability: flush or overload cache, degrading apps
11211 is widely scanned, enabling unauthorized access and lateral movement.
Recommendation
Apply least privilege and segmentation:- Restrict
TCP 11211to trusted CIDRs or security groups - Keep Memcached on private subnets; avoid public IPs
- Add defense in depth with NACLs/firewalls; disable unused protocols
- Use private connectivity (VPN/peering) and monitor access
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
- https://support.icompaas.com/support/solutions/articles/62000127021-ensure-security-groups-do-not-allow-unrestricted-ingress-access-to-memcached-port-11211
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_memcached_11211. 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