← voltar
CVE-2024-29037

Default secret use for initial deployment

CVSS 9.1 CRITICALEPSS 0.6%CWE-1394
Em resumo

Os gráficos Helm do DataHub usavam uma chave secreta padrão e conhecida publicamente para criar tokens de segurança durante a implantação inicial, permitindo que atacantes forjassem tokens de autenticação e ganhassem acesso não autorizado.

Detalhe técnico

CWE-1394 (Uso de Algoritmo Criptográfico Quebrado ou Arriscado): Versões 0.1.143 a 0.2.181 do datahub-helm foram implantadas com chaves de assinatura estática embutidas para geração de tokens de acesso pessoal quando a Autenticação do Serviço de Metadados estava ativada; um atacante conhecendo o algoritmo público e a chave padrão poderia gerar tokens válidos para se passar por usuários. Implantações onde a autenticação foi ativada manualmente via variáveis de ambiente, contornando proteções do helm, apresentavam maior risco.

Resumo gerado e traduzido por IA a partir da descrição oficial.
datahub-helm provides the Kubernetes Helm charts for deploying Datahub and its dependencies on a Kubernetes cluster. Starting in version 0.1.143 and prior to version 0.2.182, due to configuration issues in the helm chart, if there was a successful initial deployment during a limited window of time, personal access tokens were possibly created with a default secret key. Since the secret key is a static, publicly available value, someone could inspect the algorithm used to generate personal access tokens and generate their own for an instance. Deploying with Metadata Service Authentication enabled would have been difficult during window of releases. If someone circumvented the helm settings and manually set Metadata Service Authentication to be enabled using environment variables directly, this would skip over the autogeneration logic for the Kubernetes Secrets and DataHub GMS would default to the signing key specified statically in the application.yml. Most deployments probably did not attempt to circumvent the helm settings to enable Metadata Service Authentication during this time, so impact is most likely limited. Any deployments with Metadata Service Authentication enabled should ensure that their secret values are properly randomized. Version 0.2.182 contains a patch for this issue. As a workaround, one may reset the token signing key to be a random value, which will invalidate active personal access tokens.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Produtos afetados
acryldata · datahub-helm

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →