Skip to content
RCE Write-up Intermediate

Git-Syncing into Trouble: Exploring Command Injection Flaws in Kubernetes

The git-sync sidecar project in Kubernetes allows an attacker with low privileges to apply a YAML file that sets the GITSYNC_GIT parameter to a malicious binary, leading to command execution under the git-sync user. Additionally, an attacker with edit privileges can change GITSYNC_PASSWORD_FILE to exfiltrate any file from the pod, including service account tokens.

Tomer Peled Follow

Published on akamai.com

By looking into the git-sync use page, we can see that it supports many possible configuration parameters.

Tomer Peled (@tomerpeled92), on akamai.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

Kubernetes uses YAML files for almost everything, from configuring the Container Network Interface to pod management and secret handling. Among the sidecar projects associated with Kubernetes is git-sync, whose purpose is to connect a pod to a git repository and sync changes between the repository and the pod's site or server automatically, instead of making changes manually through a CI/CD solution. A typical use is linking an nginx pod with a repository containing the files the user wants to expose through that pod.

Tomer Peled of Akamai found a design flaw in git-sync that allows for potential command injection. The findings were to be presented at DEF CON 2024. The flaw can cause either data exfiltration of any file in the pod, including service account tokens, or command execution with the git_sync user privileges. Exploiting it requires only applying a YAML file on the cluster, which is a low-privilege operation, and it works on default installations of Kubernetes on all platforms, including Amazon Elastic Kubernetes Service (EKS), Azure Kubernetes Service (AKS), Google Kubernetes Engine (GKE) and Linode. No CVE was assigned to the design flaw, so there is no patch and it remains exploitable.

Setup

The report describes two attack paths with different preconditions:

  1. Stealthy code execution: the attacker needs low privileges, specifically Create privileges, on the cluster or namespace, and must be able to get a binary into the pod. The binary can be placed there in a few different ways, such as via Kubernetes probes, Kubernetes volumes, or LOLBins that come with the git-sync pod.
  2. Data exfiltration: the attacker needs Edit privileges to modify a git-sync deployment, and can set up a pseudo repository server to receive the exfiltrated file.

A proof-of-concept YAML file and demos are published in the akamai-security-research repository.

Finding it

The starting point was the git-sync usage page, which shows that the project supports many configuration parameters so that a user can customise git-sync to their needs. That breadth of configuration creates a potentially large attack surface.

By looking into the git-sync use page, we can see that it supports many possible configuration parameters.
By looking into the git-sync use page, we can see that it supports many possible configuration parameters. From the original on akamai.com

The image shows the git-sync usage page and the many configuration parameters it supports.

Two parameters stood out as potential attack vectors: GITSYNC_GIT and GITSYNC_PASSWORD.

According to the official git-sync documents, GITSYNC_PASSWORD_FILE is "The file from which the password or personal access token (see github docs) to use for git authentication (see --username) will be read." That hints at the possibility of exfiltrating the access token or other files on the pod.

GITSYNC_GIT, again from the official docs, is "The git command to run (subject to PATH search, mostly for testing). This defaults to "git," which means an attacker can choose a binary that will be executed instead of git, and use it for code execution on the cluster.

The reasoning behind the research was also driven by the wider pattern: Kubernetes is no stranger to command injection vulnerabilities. In 2023 alone, 7 such vulnerabilities were found, including several the same researchers found. Input sanitisation concerns led them to look more deeply into ancillary attack vectors, asking whether the problem is unique to Kubernetes' main project or more widespread. Sidecar projects such as git-sync are places where vulnerabilities can hide.

Exploitation

Step 1: Deploy a pod that uses git-sync

A pod can be created to use git-sync to connect to a remote repository, or to an attacker-controlled one. The report shows an example configuration YAML file that deploys a pod with git-sync, but the file itself is not reproduced in the text.

Step 2: Stealthy code execution via GITSYNC_GIT

An attacker with Create privileges on the cluster or namespace applies a malicious YAML file containing a path to their binary, causing it to be executed under the git-sync name. The binary must be inside the pod, which can be achieved through Kubernetes probes, Kubernetes volumes, or LOLBins that come with the git-sync pod.

After the YAML file is applied, from the point of view of blue team personnel git-sync is the process communicating with a remote server, and it is reasonable to assume it would be trusted to communicate externally. That gives the attacker a way to bypass security measures as a bonus on top of the command execution.

The report includes a proof of concept that starts an XMrig cryptominer under the git_sync user. When a network administrator later audits existing pods and their communication outside the company network, they will most likely see the git-sync user communicating with an outside server.

Step 3: Data exfiltration via GITSYNC_PASSWORD_FILE

An attacker with Edit privileges can edit a git-sync deployment to change or add the GITSYNC_PASSWORD_FILE parameter and point it at any file on the pod. This causes git-sync to send the file as a means of authentication on its next connection to the git repository.

If the attacker also modifies the git repository location and sets up a pseudo repository server, the next deployment of the git-sync process inside the pod will send the file named in GITSYNC_PASSWORD_FILE from the pod to the attacker's machine. There are no restrictions on the file paths or permissions required for GITSYNC_PASSWORD_FILE.

A high-risk exfiltration scenario follows directly: attackers can use this technique to retrieve the access token of the pod, which would allow them to interact with the cluster under the guise of the git-sync pod.

Root cause

Both attack vectors stem from a lack of input sanitisation. git-sync accepts configuration parameters that select a binary to execute (GITSYNC_GIT) and a file to read for authentication (GITSYNC_PASSWORD_FILE); there are no restrictions on the file paths or permissions required for GITSYNC_PASSWORD_FILE.

Existing defences did not stop it because the Kubernetes team's position is that editing YAMLs is a high-privilege operation, so the findings do not cross a security threshold. On GITSYNC_GIT, the team acknowledged that the privileges required are low but did not think low-privilege operations would lead to harmful behaviour. The researcher's counter-argument is that lateral movement is still possible with this technique, and that there is a concern of losing integrity: the attacker can steal information as if they were a legitimate git-sync user. The only bar to harmful behaviour is low privileges on the cluster, and the attack flow is especially dangerous in organisations that have pre-authorized git-sync communication in their cluster.

Impact

  • Code execution: a low-privileged attacker with Create privileges can run an arbitrary binary under the git_sync user, for example an XMrig cryptominer, while the traffic appears to come from a trusted git-sync process.
  • Data exfiltration: an attacker with Edit privileges can read any file on the pod, including the pod's access token, and have it sent to an attacker-controlled server as git authentication material. The token then allows interaction with the cluster under the guise of the git-sync pod.
  • Scope: default Kubernetes installations on all platforms, including EKS, AKS, GKE and Linode.
  • No patch: no CVE was assigned, so the flaw remains exploitable.

Fix

There will not be a patch, because the Kubernetes team does not consider the techniques vulnerabilities. The report recommends mitigations to reduce the attack surface these "features" allow.

First, increase monitoring of communication that leaves the organisation, specifically from Kubernetes pods. Apply extra care to git-sync pods if that granularity is possible.

Second, audit git-sync pods to see what command they are running:

Bash
  kubectl describe pod <git-sync-pod>

When run against the cryptominer proof of concept, the output shows the --git argument, which would have raised a red flag upon detection, especially when the value of the argument is not git. The report recommends running this audit on all pods, not just git-sync pods, as a general security practice.

The researchers also wrote an OPA rule that detects the attack vector in which attackers replace the git binary with a malicious payload:

Bash
  package kubernetes.admission

  deny[msg] {
    input.request.kind.kind == "<Deployment/Pod>"
    path := input.request.object.spec.env.name
    contains(path, "GITSYNC_GIT")
    msg := sprintf("Gitsync binary parameter detected, possible payload alteration, verify new binary ", [path])
}

Variants to test

Disclosure

The findings were originally disclosed to the Kubernetes team in December 2023. After discussion, the team decided that editing YAMLs is considered a high-privilege operation, so the findings do not cross a security threshold. The researchers disagree: although edit operations on a pod are considered privileged, lateral movement is still possible with this technique, and there is a concern of losing integrity, since the attacker can steal information as if they were a legitimate git-sync user. On GITSYNC_GIT, the team acknowledged the low privileges required but did not think low-privilege operations would lead to harmful behaviour. Kubernetes encouraged the researchers to share the research online as it "helps remind admins to think carefully about the surface area they expose to users."

Tomer Peled
Tomer Peled From the original on akamai.com

The closing author card for Tomer Peled, with the note thanking the Kubernetes team for their response and discourse despite the disagreement on the outcome.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 17 min read.

What happened, in plain words

A security researcher named Tomer Peled, working at Akamai, looked at a small helper program used alongside Kubernetes called git-sync. He found that two of its settings let whoever controls them decide which program gets run and which file gets read. Because those settings are not checked or restricted, someone with only modest access to a Kubernetes cluster can use them to run their own program on the cluster, or to make the cluster send a file of their choosing to a server they control. The Kubernetes team looked at the findings and decided they are not vulnerabilities, so no fix was issued. The researcher disagrees and published the details so that administrators can watch for the behaviour.

Tomer Peled
Tomer Peled From the original on akamai.com

The image is the author card for Tomer Peled, who wrote the research.

The background you need first

Before the details make sense, here are the pieces involved, explained from scratch.

Kubernetes is a system for running software on many computers at once, usually in a data centre or in the cloud. You describe what you want, and Kubernetes makes it happen and keeps it running. Think of it as a building manager: you hand over a written request ("I need three rooms with this furniture"), and the manager arranges the rooms and keeps them in the requested state.

A pod is the smallest unit Kubernetes runs. It is one or more programs packaged together with their settings, running on one machine. In the building comparison, a pod is a single room with its occupants.

A cluster is the whole collection of machines Kubernetes manages. It is the entire building.

A YAML file is a plain text file used to write down settings in a structured, indented way. Kubernetes uses YAML files for almost everything: network configuration, pod management, even secret handling. In the building comparison, a YAML file is the written request form you hand to the manager. Because so much depends on these forms, a weakness in how they are handled can matter a great deal.

A sidecar is a helper program that runs next to your main program inside the same pod, doing a supporting job. In the building comparison, it is an assistant who shares the room with the main occupant and handles one chore.

git is a tool for tracking versions of files, widely used by software teams. A git repository is a store of files plus their history, often hosted on a server. When someone says a program "syncs" with a repository, it means it copies changes between the repository and the local machine so both stay up to date.

git-sync is a sidecar project associated with Kubernetes. Its purpose is to connect a pod to a git repository and sync changes between the repository and the pod's site or server automatically, instead of making changes manually through a CI/CD solution. A typical use is linking an nginx pod (nginx is a common web server program) with a repository containing the files the user wants to expose through that pod. In the building comparison, git-sync is an assistant whose only job is to fetch the latest documents from a central archive and put them in the room.

Command injection is a class of security weakness. It happens when a program takes some text from its configuration or its input and uses that text to decide which command to run, without checking it. If an attacker can influence the text, they can influence which command runs. The everyday comparison: a note left for a assistant saying "fetch the file called report" is fine, but if someone can rewrite the note to say "fetch the file called report and also unlock the safe", the assistant will do exactly that, because it follows instructions literally.

Data exfiltration means stealing data by copying it out of the place where it lives and sending it somewhere the attacker can read it. The everyday comparison: photocopying documents in an office and mailing the copies to yourself.

A service account token is a small piece of text that a pod uses to prove its identity to the cluster, a bit like a staff badge. Anyone who holds the badge can act as that pod. That is why stealing one matters.

A CVE is a public catalogue number given to a known security vulnerability, so that everyone can refer to the same issue. When a CVE is assigned, vendors usually produce a patch. No CVE was assigned here, so there is no patch and the behaviour remains exploitable.

Privileges are the permissions an account has. "Low privileges" means the account can do only small things, such as creating a pod. "Edit privileges" means it can change existing things. "Create privileges" means it can add new things. In the building comparison, a low-privilege user can submit a new request form but cannot rewrite the building's rules.

Blue team is the common name for the defenders in an organisation: the people who monitor systems and respond to attacks. Red team is the attackers, whether real or hired to test.

A cryptominer is a program that uses someone else's computer to generate cryptocurrency for the person who planted it. It is a common payload in attacks because it turns stolen computing power into money. XMrig is a well-known cryptominer program.

LOLBins (living off the land binaries) are ordinary programs already installed on a system that an attacker can reuse for their own purposes, so they do not need to bring their own tools.

OPA (Open Policy Agent) is a tool that lets an organisation write rules describing what is allowed in a system, and have those rules checked automatically. Think of it as a security guard at the door with a written checklist.

kubectl is the command-line tool used to talk to a Kubernetes cluster. Typing commands into it is how administrators inspect and change the cluster.

The starting point: a page full of settings

The researchers began with the git-sync usage page, which shows that the project supports many configuration parameters so that a user can customise git-sync to their needs. That breadth of configuration creates a potentially large attack surface. "Attack surface" simply means the total set of places where an attacker could try to get in; the more settings a program accepts, the more places there are to try.

By looking into the git-sync use page, we can see that it supports many possible configuration parameters.
By looking into the git-sync use page, we can see that it supports many possible configuration parameters. From the original on akamai.com

The image shows the git-sync usage page and the many configuration parameters it supports.

Two parameters stood out as potential attack vectors: GITSYNC_GIT and GITSYNC_PASSWORD. A "parameter" here is just a named setting, like a labelled field on a form. An "attack vector" is a route an attacker can take.

According to the official git-sync documents, GITSYNC_PASSWORD_FILE is "The file from which the password or personal access token (see github docs) to use for git authentication (see --username) will be read." In plain words: this setting tells git-sync which file to open in order to find the password it should use when logging in to the git server. A personal access token is a long random string that acts like a password. The hint here is that if you can choose which file is opened, you might be able to choose a file that was never meant to be sent anywhere, and have git-sync send it out as if it were a password.

GITSYNC_GIT, again from the official docs, is "The git command to run (subject to PATH search, mostly for testing). This defaults to "git," which means an attacker can choose a binary that will be executed instead of git, and use it for code execution on the cluster. A "binary" is a program file. "Code execution" means getting your own program to run on someone else's machine, which is usually the goal of an attacker.

The researchers were also driven by a wider pattern. Kubernetes is no stranger to command injection vulnerabilities: in 2023 alone, 7 such vulnerabilities were found, including several the same researchers found. Concerns about input sanitisation (checking that incoming text is safe before using it) led them to look more deeply into ancillary attack vectors, asking whether the problem is unique to Kubernetes' main project or more widespread. Sidecar projects such as git-sync are places where vulnerabilities can hide.

What the attacker needs

The report describes two attack paths with different preconditions.

  1. Stealthy code execution: the attacker needs low privileges, specifically Create privileges, on the cluster or namespace, and must be able to get a binary into the pod. A "namespace" is a way of dividing one cluster into separate areas, like floors in a building. The binary can be placed in the pod in a few different ways, such as via Kubernetes probes, Kubernetes volumes, or LOLBins that come with the git-sync pod. A "probe" is a health check that Kubernetes runs against a pod; a "volume" is a storage area attached to a pod.
  2. Data exfiltration: the attacker needs Edit privileges to modify a git-sync deployment, and can set up a pseudo repository server to receive the exfiltrated file. A "deployment" is the Kubernetes object that describes how a pod should be run. A "pseudo repository server" is a fake git server that looks like the real one to git-sync.

A proof-of-concept YAML file and demos are published in the akamai-security-research repository. A "proof of concept" is a small demonstration that shows a weakness is real.

Step 1: deploy a pod that uses git-sync

A pod can be created to use git-sync to connect to a remote repository, or to an attacker-controlled one. The report shows an example configuration YAML file that deploys a pod with git-sync, but the file itself is not reproduced in the text. The reason for this step is simple: before either attack can happen, there must be a pod running git-sync, because that is the program whose settings are being abused.

Step 2: run your own program quietly, via GITSYNC_GIT

An attacker with Create privileges on the cluster or namespace applies a malicious YAML file containing a path to their binary, causing it to be executed under the git-sync name. A "path" is the location of a file on the machine, like an address. "Executed under the git-sync name" means the program runs as the same user account that git-sync uses, so from the outside it looks like git-sync doing the work.

The binary must be inside the pod, which can be achieved through Kubernetes probes, Kubernetes volumes, or LOLBins that come with the git-sync pod. The reason this matters is that the attacker cannot simply point at a program on their own laptop; the program has to be somewhere the pod can reach.

After the YAML file is applied, from the point of view of blue team personnel git-sync is the process communicating with a remote server, and it is reasonable to assume it would be trusted to communicate externally. That gives the attacker a way to bypass security measures as a bonus on top of the command execution. In other words, the defenders see a familiar, trusted name making an outbound connection, so they are less likely to block it.

The report includes a proof of concept that starts an XMrig cryptominer under the git_sync user. When a network administrator later audits existing pods and their communication outside the company network, they will most likely see the git-sync user communicating with an outside server. An "audit" here means reviewing records of what happened.

Step 3: steal a file, via GITSYNC_PASSWORD_FILE

An attacker with Edit privileges can edit a git-sync deployment to change or add the GITSYNC_PASSWORD_FILE parameter and point it at any file on the pod. This causes git-sync to send the file as a means of authentication on its next connection to the git repository. "Authentication" is the process of proving who you are, usually by presenting a password or token.

If the attacker also modifies the git repository location and sets up a pseudo repository server, the next deployment of the git-sync process inside the pod will send the file named in GITSYNC_PASSWORD_FILE from the pod to the attacker's machine. There are no restrictions on the file paths or permissions required for GITSYNC_PASSWORD_FILE. "Permissions" here means the operating system's rules about who may read a file; the point is that git-sync does not check them.

A high-risk exfiltration scenario follows directly: attackers can use this technique to retrieve the access token of the pod, which would allow them to interact with the cluster under the guise of the git-sync pod. In everyday terms, they steal the staff badge and then walk around the building wearing it.

Why it works at all

Both attack vectors stem from a lack of input sanitisation. git-sync accepts configuration parameters that select a binary to execute (GITSYNC_GIT) and a file to read for authentication (GITSYNC_PASSWORD_FILE); there are no restrictions on the file paths or permissions required for GITSYNC_PASSWORD_FILE.

Existing defences did not stop it because the Kubernetes team's position is that editing YAMLs is a high-privilege operation, so the findings do not cross a security threshold. On GITSYNC_GIT, the team acknowledged that the privileges required are low but did not think low-privilege operations would lead to harmful behaviour. The researcher's counter-argument is that lateral movement is still possible with this technique, and that there is a concern of losing integrity: the attacker can steal information as if they were a legitimate git-sync user. "Lateral movement" means moving from one compromised place to another inside the same organisation. "Integrity" means data has not been tampered with or misused. The only bar to harmful behaviour is low privileges on the cluster, and the attack flow is especially dangerous in organisations that have pre-authorized git-sync communication in their cluster, meaning they have already decided that git-sync talking to the outside world is normal and allowed.

What the impact is

  • Code execution: a low-privileged attacker with Create privileges can run an arbitrary binary under the git_sync user, for example an XMrig cryptominer, while the traffic appears to come from a trusted git-sync process.
  • Data exfiltration: an attacker with Edit privileges can read any file on the pod, including the pod's access token, and have it sent to an attacker-controlled server as git authentication material. The token then allows interaction with the cluster under the guise of the git-sync pod.
  • Scope: default Kubernetes installations on all platforms, including EKS, AKS, GKE and Linode. These are managed Kubernetes services offered by different cloud providers; "default" means the out-of-the-box setup, with no special hardening.
  • No patch: no CVE was assigned, so the flaw remains exploitable.

What to do about it

There will not be a patch, because the Kubernetes team does not consider the techniques vulnerabilities. The report recommends mitigations to reduce the attack surface these "features" allow. A "mitigation" is a step that reduces risk when a full fix is not available.

First, increase monitoring of communication that leaves the organisation, specifically from Kubernetes pods. Apply extra care to git-sync pods if that granularity is possible. "Granularity" means the level of detail you can monitor at; watching individual pods is finer than watching the whole network.

Second, audit git-sync pods to see what command they are running:

Bash
  kubectl describe pod <git-sync-pod>

Line by line: kubectl is the tool that talks to the cluster. describe asks it to print a detailed report about one object. pod says what kind of object you want described. <git-sync-pod> is a placeholder for the name of the specific pod you are curious about; the angle brackets are not typed literally, you replace them with the real name. The reason for running this is that the report shows which program the pod is actually running, so an unexpected program stands out.

When run against the cryptominer proof of concept, the output shows the --git argument, which would have raised a red flag upon detection, especially when the value of the argument is not git. An "argument" is an extra word or value passed to a program to change its behaviour. The report recommends running this audit on all pods, not just git-sync pods, as a general security practice.

The researchers also wrote an OPA rule that detects the attack vector in which attackers replace the git binary with a malicious payload:

Bash
  package kubernetes.admission

  deny[msg] {
    input.request.kind.kind == "<Deployment/Pod>"
    path := input.request.object.spec.env.name
    contains(path, "GITSYNC_GIT")
    msg := sprintf("Gitsync binary parameter detected, possible payload alteration, verify new binary ", [path])
}

Line by line: package kubernetes.admission names the group of rules this belongs to; "admission" refers to the moment a request is checked before being allowed in. deny[msg] { starts a rule that will produce a refusal message when everything inside the braces is true. input.request.kind.kind == "<Deployment/Pod>" checks that the request concerns a Deployment or a Pod; the angle brackets are a placeholder for whichever of the two applies. path := input.request.object.spec.env.name takes the name of the environment setting from the request and stores it in a variable called path. An "environment setting" is a named value handed to a program when it starts. contains(path, "GITSYNC_GIT") checks whether that name contains the text GITSYNC_GIT. msg := sprintf("Gitsync binary parameter detected, possible payload alteration, verify new binary ", [path]) builds the refusal message, including the offending name. The closing } ends the rule. The reason for writing this rule is that it stops the dangerous setting from being deployed in the first place, rather than noticing it afterwards.

Other things worth testing

How the disclosure went

The findings were originally disclosed to the Kubernetes team in December 2023. "Disclosed" means reported privately to the people who can act on it. After discussion, the team decided that editing YAMLs is considered a high-privilege operation, so the findings do not cross a security threshold. The researchers disagree: although edit operations on a pod are considered privileged, lateral movement is still possible with this technique, and there is a concern of losing integrity, since the attacker can steal information as if they were a legitimate git-sync user. On GITSYNC_GIT, the team acknowledged the low privileges required but did not think low-privilege operations would lead to harmful behaviour. Kubernetes encouraged the researchers to share the research online as it "helps remind admins to think carefully about the surface area they expose to users."

Tomer Peled
Tomer Peled From the original on akamai.com

The closing author card for Tomer Peled, with the note thanking the Kubernetes team for their response and discourse despite the disagreement on the outcome.

Glossary

  • Argument: an extra word or value passed to a program to change how it behaves.
  • Attack surface: the total set of places where an attacker could try to get in.
  • Attack vector: a route an attacker can take to cause harm.
  • Audit: a review of records or settings to check what actually happened or is configured.
  • Authentication: the process of proving who you are, usually with a password or token.
  • Binary: a program file that the computer can run.
  • Blue team: the defenders in an organisation, who monitor systems and respond to attacks.
  • CI/CD: a setup that automatically builds and delivers software changes; here it is the manual alternative that git-sync replaces.
  • Cluster: the whole collection of machines that Kubernetes manages.
  • Code execution: getting your own program to run on someone else's machine.
  • Command injection: a weakness where text from configuration or input is used to decide which command runs, without being checked.
  • Create privileges: permission to add new objects, such as a pod, to a cluster.
  • Cryptominer: a program that uses someone else's computer to generate cryptocurrency for whoever planted it.
  • CVE: a public catalogue number given to a known security vulnerability.
  • Data exfiltration: stealing data by copying it out and sending it somewhere the attacker can read it.
  • Deployment: the Kubernetes object that describes how a pod should be run.
  • Edit privileges: permission to change existing objects in a cluster.
  • Environment setting: a named value handed to a program when it starts.
  • git: a tool for tracking versions of files.
  • git repository: a store of files plus their history, often hosted on a server.
  • git-sync: a Kubernetes sidecar project that keeps a pod's files in sync with a git repository.
  • Granularity: the level of detail at which something is monitored or controlled.
  • Input sanitisation: checking that incoming text is safe before using it.
  • Integrity: the property that data has not been tampered with or misused.
  • Kubernetes: a system for running software across many machines and keeping it running as described.
  • kubectl: the command-line tool used to talk to a Kubernetes cluster.
  • Lateral movement: moving from one compromised place to another inside the same organisation.
  • LOLBins: ordinary programs already installed on a system that an attacker can reuse for their own purposes.
  • Mitigation: a step that reduces risk when a full fix is not available.
  • Namespace: a way of dividing one cluster into separate areas.
  • nginx: a common web server program.
  • OPA: Open Policy Agent, a tool for writing and automatically checking rules about what is allowed.
  • Parameter: a named setting, like a labelled field on a form.
  • Path: the location of a file on a machine, like an address.
  • Permissions: the operating system's rules about who may read or change a file.
  • Personal access token: a long random string that acts like a password.
  • Pod: the smallest unit Kubernetes runs, one or more programs packaged with their settings.
  • Proof of concept: a small demonstration that shows a weakness is real.
  • Probe: a health check that Kubernetes runs against a pod.
  • Pseudo repository server: a fake git server that looks like the real one to git-sync.
  • Service account token: a piece of text a pod uses to prove its identity to the cluster, like a staff badge.
  • Sidecar: a helper program that runs next to the main program inside the same pod.
  • Volume: a storage area attached to a pod.
  • YAML file: a plain text file that writes down settings in a structured, indented way.

More by Tomer Peled

View all

1 more disclosed report, best first.

More from Kubernetes

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.