SecurityContext

CVE-2021-40862: HashiCorp Terraform Enterprise - Broken Access Control

  • Cve: CVE-2021-40862
  • Name: HashiCorp Terraform Enterprise - Broken Access Control
  • Description: HashiCorp Terraform Enterprise up to v202108-1 contained an API endpoint that erroneously disclosed a sensitive URL to authenticated parties, which could be used for privilege escalation or unauthorized modification of a Terraform configuration. Fixed in v202109-1.
  • Impact: Authenticated attackers can access sensitive URLs, potentially leading to privilege escalation or unauthorized configuration changes.
  • Remediation: Update to version v202109-1 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00967
  • Epss percentile: 0.62687
  • Assignee: [email protected]
  • Published at: 2021-09-15T19:15:10Z
  • Age in days: 1896
  • Modified at: 2026-06-17T04:07:33Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40862
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

References

UrlSourceTags
https://discuss.hashicorp.com/t/hcsec-2021-25-terraform-enterprise-configuration-versions-api-discloses-sensitive-url/29508nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
hashicorp:terraform_enterprise<= 202108-1nonvd/v1/products/hashicorp/terraform_enterprise

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts