Vulnerability identifier: #VU99580
Vulnerability risk: Low
CVSSv4.0: 0.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Consul
Server applications /
Other server solutions
Consul Enterprise
Server applications /
Other server solutions
Vendor: HashiCorp
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to the application does not explicitly set set Content-Type HTTP header. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Consul: 1.4.1 - 1.4.5, 1.5.0 - 1.5.3, 1.6.0 - 1.6.10, 1.7.0 - 1.7.14, 1.8.0 - 1.8.19, 1.9.0 - 1.9.17, 1.10.0 - 1.19.2
Consul Enterprise: 1.4.1 - 1.4.5, 1.5.0 - 1.5.3, 1.6.0 - 1.6.10, 1.7.0 - 1.7.14, 1.8.0 - 1.8.19, 1.9.0 - 1.9.17, 1.10.0 - 1.19.2
External links
https://discuss.hashicorp.com/t/hcsec-2024-24-consul-vulnerable-to-reflected-xss-on-content-type-error-manipulation
https://github.com/advisories/GHSA-99wr-c2px-grmh
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.