CWE-1327

Base Abstraction Level
Pillar — Highest-level weakness category
Class — Abstract, language-independent
Base — Specific enough to detect
Variant — Tied to specific technology
Compound — Requires multiple weaknesses
Incomplete MITRE CWE Status
Stable — Fully reviewed and complete
Draft — Under development, may change
Incomplete — Partially defined by MITRE
Deprecated — No longer recommended
Obsolete — Replaced by another CWE
Binding to an Unrestricted IP Address

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.

Consequences

Access Control — Bypass Protection Mechanism

Binding to the address 0.0.0.0 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.

Availability — DoS: Amplification

Mitigations

Phase: System Configuration

Assign IP addresses that are not 0.0.0.0.

Phase: System Configuration

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