Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
efs_mount_target_not_publicly_accessibleProvider: AWS
Service:
efsSeverity: MEDIUM
Categories:
internet-exposedResource type:
AwsEfsFileSystemWhat this check verifies
EFS mount targets associated with VPC subnets that auto-assign public IPv4 addresses (mapPublicIpOnLaunch=true) are identified per file system.
The evaluation focuses on the subnet attribute linked to each mount target.
Risk
Publicly addressable mount targets expose NFS to Internet scanning and exploit attempts.- Confidentiality: unauthorized reads
- Integrity: illicit writes or deletion
- Availability: DDoS/resource exhaustion
Recommendation
Place mount targets in private subnets that do not auto-assign public IPs (mapPublicIpOnLaunch=false). Apply least privilege: restrict NFS via security groups to known sources, avoid Internet routes, and use defense in depth with NACLs. Prefer private connectivity (VPN/Direct Connect or peering) for access.
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/securityhub/latest/userguide/efs-controls.html#efs-6
- https://docs.aws.amazon.com/efs/latest/ug/accessing-fs.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = efs_mount_target_not_publicly_accessible. 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