GHSA-vg84-c5mg-76xh: Go/github.com/ctfer-io/terraform-provider-ctfd/v2 vulnerability
Impact
CTFer.io's CTFd Terraform Provider stores ctfdteam.password as non-sensitive values (CWE-522). A local or remote attacker, who can have access to the Terraform state, can read team passwords without the need for the state password for decryption.
Patches
Patched in v2.8.2.
Workarounds
No workaround exist, yet CTFer.io recommends you keep your state in safe environments with a limited set of users who can access it as a good practice to avoid exploitation of this vulnerability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/ctfer-io/terraform-provider-ctfd/v2to a version that resolves this vulnerability.Fixed in 2.8.2 - Upgrade
Upgrade
CTFer.io CTFd Terraform Providerto a version that resolves this vulnerability.Fixed in v2.8.2 - Compensating control
Keep the Terraform state in a safe environment with access limited to a set of authorized users.