Affected versions
Version ranges need review.
- Affected versions
- <2.8.2
- Fixed version
- 2.8.2
- Affected versions
- < 2.8.2
- Fixed version
- 2.8.2
- Affected versions
- >=0.1.5
- Fixed version
- Not reported
- Affected versions
- >= 0.1.5, <= 1.1.0
- Fixed version
- Not reported
Exploitation
Description
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.
Links
- https://github.com/advisories/GHSA-vg84-c5mg-76xh
- https://github.com/ctfer-io/terraform-provider-ctfd
- https://github.com/ctfer-io/terraform-provider-ctfd/commit/b4acaef1df23ea3ca36936fc2d8ef8d157a58e04
- https://github.com/ctfer-io/terraform-provider-ctfd/pull/376
- https://github.com/ctfer-io/terraform-provider-ctfd/releases/tag/v2.8.2
- https://github.com/ctfer-io/terraform-provider-ctfd/security/advisories/GHSA-vg84-c5mg-76xh
Credits
- kta1kri

