ADVISORIES

GitHub Advisory Database

GHSA-vg84-c5mg-76xh

CTFer.io's CTFd Terraform Provider allows a local or remote attacker to read team passwords in state as non sensitive values

Details

Impact

CTFer.io's CTFd Terraform Provider stores ctfd_team.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 packages

EcosystemPackageAffected versions
Gogithub.com/ctfer-io/terraform-provider-ctfd
From 0.1.5 up to and including 1.1.0
Gogithub.com/ctfer-io/terraform-provider-ctfd/v2
All versions before 2.8.2 (fixed in 2.8.2)

References