Three Bitnami Helm charts mount Kubernetes Secrets under a predictable path (/opt/bitnami/*/secrets) that is located within the web server document root.
In affected versions, this can lead to unauthenticated access to sensitive credentials via HTTP/S. A remote attacker could retrieve these secrets by accessing specific URLs if the application is exposed externally. The issue affects deployments using the default value of usePasswordFiles=true, which mounts secrets as files into the container filesystem.
Affected versions
- bitnami/wordpress: ≥ 24.2.0, < 25.0.4
- bitnami/appsmith: ≥ 5.2.0, < 6.0.19
- bitnami/drupal: ≥ 21.2.0, < 22.0.4
Impact
Remote attackers can retrieve secrets via predictable URL paths if the application is exposed externally.
Mitigation
Upgrade to the first unaffected version of each chart.
As a workaround, upgrade the Helm chart deployment using usePasswordFiles=false to use environment variables instead of mounting secrets as files, which prevents them from being served via the web root. Alternatively, apply web server or ingress rules to restrict access to the secrets path.
Three Bitnami Helm charts mount Kubernetes Secrets under a predictable path (
/opt/bitnami/*/secrets) that is located within the web server document root.In affected versions, this can lead to unauthenticated access to sensitive credentials via HTTP/S. A remote attacker could retrieve these secrets by accessing specific URLs if the application is exposed externally. The issue affects deployments using the default value of
usePasswordFiles=true, which mounts secrets as files into the container filesystem.Affected versions
Impact
Remote attackers can retrieve secrets via predictable URL paths if the application is exposed externally.
Mitigation
Upgrade to the first unaffected version of each chart.
As a workaround, upgrade the Helm chart deployment using
usePasswordFiles=falseto use environment variables instead of mounting secrets as files, which prevents them from being served via the web root. Alternatively, apply web server or ingress rules to restrict access to the secrets path.