🎄 Join our Annual Holiday wargame and win prizes!


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

Open Aws labs in SecDim Play for this vulnerability.

Deco line
Deco line

Play AppSec WarGames

Want to skill-up in secure coding and AppSec? Try SecDim Wargames to learn how to find, hack and fix security vulnerabilities inspired by real-world incidents.

Deco line
Deco line

Got a comment?

Join our secure coding and AppSec community. A discussion board to share and discuss all aspects of secure programming, AppSec, DevSecOps, fuzzing, cloudsec, AIsec code review, and more.

Read more