Why it matters
IMDSv1 answers unauthenticated GETs, so a server-side request forgery in any application on the instance yields its role's credentials.
How to fix it
Require IMDSv2 (HttpTokens=required) on the instance.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Amazon Web Services.
Benchmark controls
- CIS Amazon Web Services Foundations Benchmark 3.0.0, control
5.6: EC2 instances require IMDSv2
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- New block volumes are not encrypted by default in every region
AWSSeverity: High
cloud.compute.ebs-default-encryption - IP forwarding is enabled on the instance
Google CloudSeverity: Low
cloud.compute.ip-forwarding - Instance disks use a platform-managed key
AzureSeverity: Low
cloud.compute.disk-no-customer-key - No bastion host exists for administrative access
AzureSeverity: Low
cloud.compute.no-bastion - The instance runs as the default compute service account
Google CloudSeverity: Medium
cloud.compute.default-service-account - Confidential computing is off
Google CloudSeverity: Low
cloud.compute.no-confidential-computing
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation