Skip to content

CVE-2024-47083 Power Platform Terraform Provider has Improper Masking of Secrets in Logs

HighCVSS 8.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

Power Platform Terraform Provider allows managing environments and other resources within Power Platform. Versions prior to 3.0.0 have an issue in the Power Platform Terraform Provider where sensitive information, specifically the client_secret used in the service principal authentication, may be exposed in logs. This exposure occurs due to an error in the logging code that causes the client_secret to not be properly masked when logs are persisted or viewed. Users should upgrade to version 3.0.0 to receive a patched version of the provider that removes all logging of sensitive content. Users who have used this provider with the affected versions should take the following additional steps to mitigate the risk: Immediately rotate the client_secret for any service principal that has been configured using this Terraform provider. This will invalidate any potentially exposed secrets. Those who have set the TF_LOG_PATH environment variable or configured Terraform to persist logs to a file or an external system, consider disabling this until they have updated to a fixed version of the provider. Those who have existing logs that may contain the client_secret should remove or sanitize these logs to prevent unauthorized access. This includes logs on disk, in monitoring systems, or in logging services.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
Microsoft power platform terraform provider <= 3.0.0 after 3.0.0 Fixed
Microsoft terraform provider power platform < 3.0.0 3.0.0 Fixed
Microsoft terraform-provider-power-platform = < 3.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Microsoft terraform-provider-power-platform = < 3.0.0 No fix listed
Microsoft terraform provider power platform < 3.0.0 3.0.0
Microsoft power platform terraform provider <= 3.0.0 No fix listed

References