CWE-1327 · Słabość
Binding to an Unrestricted IP Address
- Abstrakcja
- Bazowa
- Status
- Niekompletny
- Dodano
- 8 września 2020
- Ostatnia zmiana
- 30 kwietnia 2026
Opis
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.
Skutki
Availability
DoS: Amplification
Zapobieganie
System Configuration
Assign IP addresses that are not 0.0.0.0.
Skuteczność: High
System Configuration · Firewall
Unwanted connections to the configured server may be denied through a firewall or other packet filtering measures.
Skuteczność: High
Przykłady podatności
- CVE-2023-41742 cybersecurity product binds to an unrestricted IP address
- CVE-2022-21947 Desktop manager for Kubernetes and container management binds a service to 0.0.0.0, allowing users on the network to make requests to a dashboard API.
Słabość nadrzędna
Kiedy powstaje
- System Configuration
Dotyczy
Other, Not OS-Specific, Not Architecture-Specific, Web Server, Client Server, Cloud Computing
Źródła
- Security Smells in Ansible and Chef Scripts: A Replication Study — Akond Rahman, Md Rayhanur Rahman, Chris Parnin, Laurie Williams, 2020
- The Seven Sins: Security Smells in Infrastructure as Code Scripts — Akond Rahman, Chris Parnin, Laurie Williams, ICSE '19: Proceedings of the 41st International Conference on Software Engineering, 2019
Wpis z katalogu CWE 4.20.