{"@ID": "1327", "@Name": "Binding to an Unrestricted IP Address", "@Abstraction": "Base", "@Structure": "Simple", "@Status": "Incomplete", "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.", "Extended_Description": {"xhtml:p": "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."}, "Related_Weaknesses": {"Related_Weakness": {"@Nature": "ChildOf", "@CWE_ID": "668", "@View_ID": "1000", "@Ordinal": "Primary"}}, "Weakness_Ordinalities": {"Weakness_Ordinality": {"Ordinality": "Primary"}}, "Applicable_Platforms": {"Language": {"@Name": "Other", "@Prevalence": "Undetermined"}, "Operating_System": {"@Class": "Not OS-Specific", "@Prevalence": "Undetermined"}, "Architecture": {"@Class": "Not Architecture-Specific", "@Prevalence": "Undetermined"}, "Technology": [{"@Name": "Web Server", "@Prevalence": "Undetermined"}, {"@Class": "Client Server", "@Prevalence": "Undetermined"}, {"@Class": "Cloud Computing", "@Prevalence": "Undetermined"}]}, "Modes_Of_Introduction": {"Introduction": {"Phase": "System Configuration"}}, "Common_Consequences": {"Consequence": {"Scope": "Availability", "Impact": "DoS: Amplification", "Likelihood": "High"}}, "Potential_Mitigations": {"Mitigation": [{"Phase": "System Configuration", "Description": "Assign IP addresses that are not 0.0.0.0.", "Effectiveness": "High"}, {"Phase": "System Configuration", "Strategy": "Firewall", "Description": "Unwanted connections to the configured server may be denied through a firewall or other packet filtering measures.", "Effectiveness": "High"}]}, "Demonstrative_Examples": {"Demonstrative_Example": {"Intro_Text": "The following code snippet uses 0.0.0.0 in a Puppet script.", "Example_Code": [{"@Nature": "Bad", "@Language": "Other", "xhtml:br": null, "xhtml:div": {"@style": "margin-left:1em;", "xhtml:div": {"@style": "margin-left:1em;", "xhtml:br": [null, null, null], "#text": "listenaddr     => \"0.0.0.0\",\n\t\t\t\t\t  port           => \"9100\",\n\t\t\t\t\t  code_tag       => \"SIGNING_SERVER\","}, "xhtml:br": null, "#text": "\"nightly-key-signing-server\":\n\t\t\t\t\t  \n\t\t\t\t\t  }"}, "#text": "signingserver::instance {"}, {"@Nature": "Good", "@Language": "Other", "xhtml:br": null, "xhtml:div": {"@style": "margin-left:1em;", "xhtml:div": {"@style": "margin-left:1em;", "xhtml:br": [null, null, null], "#text": "listenaddr     => \"127.0.0.1\",\n\t\t\t\t\t  port           => \"9100\",\n\t\t\t\t\t  code_tag       => \"SIGNING_SERVER\","}, "xhtml:br": null, "#text": "\"nightly-key-signing-server\":\n\t\t\t\t\t  \n\t\t\t\t\t  }"}, "#text": "signingserver::instance {"}], "Body_Text": "The Puppet code snippet is used to provision a signing server that will use 0.0.0.0 to accept traffic. However, as 0.0.0.0 is unrestricted, malicious users may use this IP address to launch frequent requests and cause denial of service attacks."}}, "Observed_Examples": {"Observed_Example": [{"Reference": "CVE-2023-41742", "Description": "cybersecurity product binds to an unrestricted IP address", "Link": "https://www.cve.org/CVERecord?id=CVE-2023-41742"}, {"Reference": "CVE-2022-21947", "Description": "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.", "Link": "https://www.cve.org/CVERecord?id=CVE-2022-21947"}]}, "Related_Attack_Patterns": {"Related_Attack_Pattern": {"@CAPEC_ID": "1"}}, "References": {"Reference": [{"@External_Reference_ID": "REF-1158"}, {"@External_Reference_ID": "REF-1159"}]}, "Mapping_Notes": {"Usage": "Allowed", "Rationale": "This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.", "Comments": "Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.", "Reasons": {"Reason": {"@Type": "Acceptable-Use"}}}, "Content_History": {"Submission": {"Submission_Name": "Akond Rahman", "Submission_Organization": "Tennessee Technological University", "Submission_Date": "2020-09-08", "Submission_Version": "4.3", "Submission_ReleaseDate": "2020-12-10"}, "Modification": [{"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2021-03-15", "Modification_Version": "4.4", "Modification_ReleaseDate": "2021-03-15", "Modification_Comment": "updated Relationships"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-04-27", "Modification_Version": "4.11", "Modification_ReleaseDate": "2023-04-27", "Modification_Comment": "updated Relationships"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-06-29", "Modification_Version": "4.12", "Modification_ReleaseDate": "2023-06-29", "Modification_Comment": "updated Mapping_Notes"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-10-26", "Modification_Version": "4.13", "Modification_ReleaseDate": "2023-10-26", "Modification_Comment": "updated Observed_Examples"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2025-09-09", "Modification_Version": "4.18", "Modification_ReleaseDate": "2025-09-09", "Modification_Comment": "updated References"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2025-12-11", "Modification_Version": "4.19", "Modification_ReleaseDate": "2025-12-11", "Modification_Comment": "updated Weakness_Ordinalities"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2026-04-30", "Modification_Version": "4.20", "Modification_ReleaseDate": "2026-04-30", "Modification_Comment": "updated Observed_Examples"}]}}
