SecurityContext

CVE-2024-56513: Karmada - Privilege Escalation

  • Cve: CVE-2024-56513
  • Name: Karmada - Privilege Escalation
  • Description: Karmada is a Kubernetes management system that allows users to run cloud-native applications across multiple Kubernetes clusters and clouds. Prior to version 1.12.0, the PULL mode clusters registered with the `karmadactl register` command have excessive privileges to access control plane resources. By abusing these permissions, an attacker able to authenticate as the karmada-agent to a karmada cluster would be able to obtain administrative privileges over the entire federation system including all registered member clusters. Since Karmada v1.12.0, command `karmadactl register` restricts the access permissions of pull mode member clusters to control plane resources. This way, an attacker able to authenticate as the karmada-agent cannot control other member clusters in Karmada. As a workaround, one may restrict the access permissions of pull mode member clusters to control plane resources according to Karmada Component Permissions Docs.
  • Impact: Attackers can gain full control over the federation system and all registered member clusters, leading to complete system compromise.
  • Remediation: Upgrade to version 1.12.0 or later, and restrict access permissions of pull mode member clusters as per Karmada Component Permissions documentation.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to authenticate as the karmada-agent
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00491
  • Epss percentile: 0.4305
  • Assignee: [email protected]
  • Published at: 2025-01-03T17:15:08Z
  • Age in days: 690
  • Modified at: 2026-06-17T08:12:16Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56513
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-266Incorrect Privilege Assignment

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/karmada-io/karmada/commit/2c82055c4c7f469411b1ba48c4dba4841df04831
https://github.com/karmada-io/karmada/pull/5793
https://github.com/karmada-io/karmada/security/advisories/GHSA-mg7w-c9x2-xh7r
https://karmada.io/docs/administrator/security/component-permission

Projects

RepositoryLink kindsIndexedUrl
karmada-io/karmadacommit, package, pull, security_advisoryyes/v1/repositories/karmada-io/karmada

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts