logo

Database

Azure Postgresql Firewall Allows Public Access

Description

Detects Azure PostgreSQL servers with firewall rules that allow broad public network access through invalid or overly permissive IP ranges. This misconfiguration could expose the database server to unauthorized access from the internet, potentially leading to data breaches or unauthorized database manipulation.

Weakness:

446 - Insecure service configuration - Azure

Category: Functionality Abuse

Detection Strategy

    Confirms that public network access is explicitly enabled on the PostgreSQL server

    Examines the start and end IP addresses in the firewall rules

    Reports a vulnerability when both start and end IP addresses are present but contain invalid IP ranges

    Identifies cases where firewall rules may unintentionally allow broad network access due to misconfigured IP ranges