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


Severity

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

Is your environment 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-ControlsCSA-CCMISO-27001NIST-800-53PCI-DSSSOC-2
  • Snyk IDSNYK-CC-00431
  • creditSnyk 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"
}