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

High 8.8 Published Updated

Attackers with log access can read exposed client secrets from Power Platform Terraform provider logs, requiring secret rotation and log sanitization.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-47083?

CVE-2024-47083 is a high-severity vulnerability in microsoft terraform-provider-power-platform, published on 25 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-532, CWE-117

Which versions are affected by CVE-2024-47083?

It affects 1 product.

Products include Microsoft Power Platform Terraform Provider.

How do I fix CVE-2024-47083?

No fix has been published for CVE-2024-47083 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-47083 being exploited?

There is no known exploitation of CVE-2024-47083 in the wild and no public exploit code.

Sources

Also known as GHSA-7w3w-pjm5-m36c.

Is CVE-2024-47083 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free