CVE Vulnerabilities

CVE-2024-10006

Improper Neutralization of HTTP Headers for Scripting Syntax

Published: Oct 30, 2024 | Modified: Jan 10, 2025
CVSS 3.x
5.8
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
8.3 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Ubuntu
MEDIUM

A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using Headers in L7 traffic intentions could bypass HTTP header based access rules.

Weakness

The product does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.

Affected Software

Name Vendor Start Version End Version
Consul Hashicorp 1.4.1 (including) 1.20.1 (excluding)
Consul Hashicorp 1.9.0 (including) 1.15.15 (excluding)
Consul Hashicorp 1.18.0 (including) 1.18.5 (excluding)
Consul Hashicorp 1.19.0 (including) 1.19.3 (excluding)
Consul Hashicorp 1.20.0 (including) 1.20.0 (including)

Extended Description

An attacker may be able to conduct cross-site scripting and other attacks against users who have these components enabled. If a product does not neutralize user controlled data being placed in the header of an HTTP response coming from the server, the header may contain a script that will get executed in the client’s browser context, potentially resulting in a cross site scripting vulnerability or possibly an HTTP response splitting attack. It is important to carefully control data that is being placed both in HTTP response header and in the HTTP response body to ensure that no scripting syntax is present, taking various encodings into account.

Potential Mitigations

References