Inside Job: Defending Kubernetes Clusters Against Network Misconfigurations CCS: Security and privacy Distributed systems security CCS: Security and privacy Network security
Jacopo Bufalino, Jose Luis Martin-Navarro, Mario Di Francesco, Tuomas Aura · 2025
Read Inside Job: Defending Kubernetes Clusters Against Network Misconfigurations CCS: Security and privacy Distributed systems security CCS: Security and privacy Network security by Jacopo Bufalino, Jose Luis Martin-Navarro, Mario Di Francesco, Tuomas Aura (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-21134.txt.
Introduction
Jacopo Bufalino and co-authors probe network misconfigurations in Kubernetes clusters in this 2025 security paper. Kubernetes is now the standard tool for running container workloads. Its popularity also makes it a prime target for attackers seeking a way in.
The team studied how weak network settings let an attacker move sideways inside a cluster. They evaluated hundreds of open-source applications from six organizations. The tests show which common settings open paths for lateral movement. Their work gives cluster operators a concrete list of risks to close. It fills a gap, since network setup had drawn less study than other parts of Kubernetes security. The authors close with steps that teams can apply right away.
Catalog record
| CREATOR | Jacopo Bufalino, Jose Luis Martin-Navarro, Mario Di Francesco, Tuomas Aura |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 78 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-21134
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Inside Job: Defending Kubernetes Clusters Against Network Misconfigurations CCS: Security and privacy Distributed systems security CCS: Security and privacy Network security Jacopo Bufalino, Jose Luis Martin-Navarro, Mario Di Francesco, Tuomas Aura Abstract . Kubernetes has emerged as the de facto standard for container orchestration. Unfortunately, its increasing popularity has also made it an attractive target for malicious actors. Despite extensive research on securing Kubernetes, little attention has been paid to the impact of network configuration on the security of application deployments. This paper addresses this gap by conducting a comprehensive analysis of network misconfigurations in a Kubernetes cluster with specific reference to lateral movement. Accordingly, we carried out an extensive evaluation of 287 open-source applications belonging to six different organizations, ranging from IT companies and public entities to non-profits. As a result, we identified 634 misconfigurations, well beyond what could be found by solutions in the state of the art. We responsibly disclosed our findings to the concerned organizations and engaged in a discussion to assess their severity. As of now, misconfigurations affecting more than thirty applications have been fixed with the mitigations we proposed. 1. Introduction The security of cloud applications is a primary concern ( Hussain and Burtsev 2020 ) . Protecting cloud environments from malicious actors presents unique challenges that are not only technology-dependent, but rather originate from the intrinsic characteristics of cloud-native applications – those designed from the ground-up to take full advantage from the cloud paradigm ( Rice 2020 ) . In fact, modern cloud-based applications comprise a large number of containerized microservices, that is, loosely coupled software components that leverage application programming interfaces (APIs) over a network ( Newman 2021 ) . Kubernetes ( CNCF 2024e ) has become the de-facto standard for container orchestration in this context. Unfortunately, the security of Kubernetes applications is particularly worrying: a report recently released by Red Hat and based on a survey of 600 IT professionals revealed that 89% of them experienced at least one security incident, even resulting in revenue or customer loss ( Red Hat Inc. 2024 ) . Specifically, misconfigurations have been recognized as primary causes of attacks to Kubernetes ( VMware 2023 ; Red Hat Inc. 2024 ; Dietrich et al. 2018 ; Acar et al. 2017 ) , also affecting Fortune 500 companies ( Aquasecurity 2023 ) . Misconfigurations occur when the deployment of Kubernetes application is poorly setup (Figure 1 ), typically by administrators instead of the actual developers of these applications. The danger of such misconfigurations is amplified by the increasing trend of reusing third-party resources and configurations ( Cloud Native Computing Foundation (2020) CNCF ) . Furthermore, many related issues arise from the cloud networking paradigm, which is substantially different from legacy corporate networks – those using physical cables and on-premise hardware, including firewalls and switches, for segmentation purposes ( Stallings 2015 ) . The Kubernetes model in particular is based on a flat network to simplify the transition of legacy applications to the cloud, however, its security implications are not fully understood ( Minna et al. 2021 ) . As a consequence, it is challenging to correctly configure all the components of a cloud application, which remains a tedious and error-prone process ( Rahman et al. 2023 ) . Research on Kubernetes security has largely focused on hardening ( Shamim et al. 2020 ) , risk assessment ( Blaise and Rebecchi 2022 ) , and tools for runtime analysis ( Minna and Massacci 2023 ) . Instead, studies on security misconfigurations have primarily targeted the cloud infrastructure ( Rahman et al. 2019 ; Chiari et al. 2022 ; Banse et al. 2021 ) and container runtimes ( Jarkas et al. 2025 ) . In fact, only a few works have explicitly addressed misconfigurations in the context of Kubernetes security ( Red Hat Inc. 2024 ; Rahman et al. 2023 ; Yang et al. 2023 ; Gu et al. 2025 ) . The survey-based report in ( Red Hat Inc. 2024 ) established misconfigurations as one of the major factors behind security threats in Kubernetes, but did not further elaborate on their characteristics. The empirical study in ( Rahman et al. 2023 ) targeted security misconfigurations in open-source Kubernetes applications, whereas the works of ( Yang et al. 2023 ; Gu et al. 2025 ) focused on excessive permissions granted to third-party components. However, the existing literature has paid little attention to security issues originated by network misconfigurations, in particular, those affecting actual cluster deployments (Section 7 ). (a) ⬇ containers : - name : flink image : bitnami / flink ports : - containerPort : 6 1 2 1 - containerPort : 6 1 2 3 - containerPort : 8 0 8 1 (b) ⬇ # netstat -a Active Internet connections ( servers and established ) Proto Recv - Q Send - Q Local Address Foreign Address State tcp 0 0 0.0.0.0:6123 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:43271 0.0.0.0:* LISTEN Figure 1 . Configuration mismatch involving the Apache Flink application, a widely used data-flow framework for stream processing, as packaged by Bitnami. 1(a) The corresponding Kubernetes configuration (i.e., YAML file) specifies 6,121, 6,123 and 8,081 as the container ports; 1(b) the application is actually not listening to port 6,121 but uses an ephemeral port (i.e., 43,271), as reported by the netstat tool. These kinds of mismatches combined with application misbehavior may lead to different types of security issues (see Sections 2.1 and 3.3 ). This work explicitly characterizes network misconfigurations affecting Kubernetes applications in the context of lateral movement (Section 2 ). Specifically, we rigorously examined research papers and industry artifacts as a basis for independent research that resulted in a comprehensive list of network misconfigurations (Section 3 ). Then, we carried out an analysis of 287 open-source Kubernetes applications belonging to six different organizations, ranging from IT companies and public entities to non-profits. The analysis revealed a total of 634 misconfigurations, most of which cannot be detected by solutions in the state of the art (Section 4 ). Finally, we responsibly disclosed our findings to the respective organizations and assessed their severity. As of now, misconfigurations affecting more than thirty applications have been fixed with the mitigations we proposed (Section 5 ). In summary, the contributions of this paper are the following. • Novel network misconfigurations leading to security issues . Our analysis of Kubernetes cluster-internal networking unveiled different types of misconfigurations, well beyond what was known in the existing literature. We also show how these misconfigurations, together with application (mis)behavior, can lead to diverse security issues. • An evaluation of these misconfigurations in real-world application deployments . We considered 287 open-source applications belonging to different organizations as deployed into a Kubernetes cluster. Our evaluation allowed to detect 634 network misconfigurations. We also compare the effectiveness of our solution against the state of the art. • Disclosure and community engagement . We disclosed the misconfigurations to the involved organizations and explained how to mitigate them. We also carried out a security assessment and characterized the reliability of our results through the received feedback. 2. Background This section provides a few examples of attacks we discovered to motivate the study of network