GCP App Engine Firewall Rule allows public access Affecting Network service in Google


0.0
medium
0
10
    Severity Framework Snyk CCSS
    Rule category Network / Firewall

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls CSA-CCM ISO-27001 NIST-800-53 PCI-DSS SOC-2
  • Snyk ID SNYK-CC-00431
  • credit Snyk Research Team

Description

Inbound traffic is allowed to a resource from any source instead of a restricted range.

How to fix?

Set source_range to specific IP range only, e.g. 192.168.1.0/24.

Example configuration

resource "google_app_engine_firewall_rule" "allowed1" {
  priority     = 1001
  action       = "DENY"
  source_range = "0.0.0.0/0"
}