CVE-2024-10086
Consul vulnerability analysis and mitigation

Overview

A vulnerability was identified in Consul and Consul Enterprise (CVE-2024-10086) where the server response did not explicitly set a Content-Type HTTP header, allowing user-provided inputs to be misinterpreted and lead to reflected XSS. The vulnerability affects Consul Community Edition versions 1.4.1 to 1.19.2 and Consul Enterprise versions from 1.4.1 to 1.19.2, 1.18.4, and 1.15.14 (HashiCorp Advisory).

Technical details

The vulnerability stems from Consul's HTTP server implementation using Go's net/http package. When the Content-Type HTTP header is not explicitly set in an HTTP response, the server attempts to guess and set the Content-Type based on the HTTP request body content value. This behavior can be exploited for reflected Cross-site Scripting attacks. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

Successful exploitation of this vulnerability could lead to reflected XSS attacks, potentially resulting in account takeovers, disclosure of sensitive information, or modification of data (HashiCorp Advisory, NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Consul Community Edition 1.20.0 and Consul Enterprise versions 1.20.0, 1.19.3, 1.18.5, and 1.15.15. Organizations are advised to evaluate the risk and upgrade to these or newer versions. Users should refer to the Consul upgrading documentation for general guidance and version-specific upgrade notes (HashiCorp Advisory).

Additional resources


SourceThis report was generated using AI

Related Consul vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-5332HIGH8.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 04, 2023
CVE-2023-3518HIGH7.3
  • ConsulConsul
  • cpe:2.3:a:hashicorp:consul
NoYesAug 09, 2023
CVE-2024-10086MEDIUM6.1
  • ConsulConsul
  • consul-fips-1.21
NoYesOct 30, 2024
CVE-2024-10006MEDIUM5.8
  • ConsulConsul
  • github.com/hashicorp/consul
NoYesOct 30, 2024
CVE-2024-10005MEDIUM5.8
  • ConsulConsul
  • github.com/hashicorp/consul
NoYesOct 30, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management