Umbra Wiki weakness weakness/CWE-1327
Back to wiki

CWE-1327 — Binding to an Unrestricted IP Address

provenance: imported · CWE: CWE-1327

CWE-1327: Binding to an Unrestricted IP Address

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

The product assigns the address 0.0.0.0 for a database server, a cloud service/instance, or any computing resource that communicates remotely.

When a server binds to the address 0.0.0.0, it allows connections from every IP address on the local machine, effectively exposing the server to every possible network. This might be much broader access than intended by the developer or administrator, who might only be expecting the server to be reachable from a single interface/network.

Common consequences

  • Availability: DoS: Amplification

Mitigations

System Configuration — Assign IP addresses that are not 0.0.0.0.

System Configuration — Unwanted connections to the configured server may be denied through a firewall or other packet filtering measures.

References

  • CWE page: https://cwe.mitre.org/data/definitions/1327.html
  • CWE list: https://cwe.mitre.org/data/index.html