Prowler
Prowler: RCE on Prowler App workers via kubeconfig auth-provider cmd-path
Prowler is a cloud security platform. Prior to 5.36.0, the Kubernetes provider connection test accepted kubeconfig_content containing a legacy gcp auth-provider with config.cmd-path and config.cmd-args because kubeconfig_contains_exec_auth in api/src/backend/api/v1/serializers.py checked only exec blocks, and POST /api/v1/providers/{id}/connection loaded it through config.load_kube_config_from_dict in prowler/providers/kubernetes/kubernetes_provider.py, causing kubernetes-python CommandTokenSource.token to run the attacker-supplied command through subprocess.Popen on the shared worker. This issue is fixed in version 5.36.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.36.0
Fixed in 5.36.0
Mitigation
Upgrade prowler to 5.36.0 or later.
References
- Vendor advisory github.com/prowler-cloud/prowler/security/advi…
- Patch github.com/prowler-cloud/prowler/pull/12091
- Patch github.com/prowler-cloud/prowler/commit/0b782f…
1 more
- Release notes github.com/prowler-cloud/prowler/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.