🚀 Join our AI Wargame at Black Hat Asia and our Workshop + Wargame at NDC Sydney .

VPC Unrestricted Egress

Not restricting egress allows connections to the public internet on any port and host, significantly increasing the extent of a compromise.

Remediation

  • Restrict CIDR to known range
  • Restrict port to white listed set of ports.
  • See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group

Metadata

  • Severity: high
  • Slug: vpc-unrestricted-egress

CWEs

  • 284: Improper Access Control

OWASP

  • A05:2021: Security Misconfiguration

Available Labs

Select a language to explore available labs for this vulnerability.

No matching labs found

Try adjusting your language filter.

Try it yourself

Find, Hack and Fix Your First Vulnerability

Reading about security bugs is one thing — fixing one is how the skill sticks. Play a free challenge from the wargame, no setup required.