CVE-2024-45614
Puma Rack Web Server Proxied Header Tampering
Description
Puma is a Ruby/Rack web server built for parallelism. In affected versions clients could clobber values set by intermediate proxies (such as X-Forwarded-For) by providing a underscore version of the same header (X-Forwarded_For). Any users relying on proxy set variables is affected. v6.4.3/v5.6.9 now discards any headers using underscores if the non-underscore version also exists. Effectively, allowing the proxy defined headers to always win. Users are advised to upgrade. Nginx has a underscores_in_headers configuration variable to discard these headers at the proxy level as a mitigation. Any users that are implicitly trusting the proxy defined headers for security should immediately cease doing so until upgraded to the fixed versions.
INFO
Published Date :
Sept. 19, 2024, 11:15 p.m.
Last Modified :
Sept. 26, 2024, 1:28 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2024-45614 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-45614
.
URL | Resource |
---|---|
https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4 | Vendor Advisory |
https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers | Product |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Puma Header normalization CVE-2024-45614 確認
Ruby
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-45614
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-45614
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 26, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4 No Types Assigned https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4 Vendor Advisory Changed Reference Type https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers No Types Assigned https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers Product Added CWE NIST CWE-444 Added CPE Configuration OR *cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* versions up to (excluding) 5.6.9 *cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* versions from (including) 6.0.0 up to (excluding) 6.4.3 -
CVE Received by [email protected]
Sep. 19, 2024
Action Type Old Value New Value Added Description Puma is a Ruby/Rack web server built for parallelism. In affected versions clients could clobber values set by intermediate proxies (such as X-Forwarded-For) by providing a underscore version of the same header (X-Forwarded_For). Any users relying on proxy set variables is affected. v6.4.3/v5.6.9 now discards any headers using underscores if the non-underscore version also exists. Effectively, allowing the proxy defined headers to always win. Users are advised to upgrade. Nginx has a underscores_in_headers configuration variable to discard these headers at the proxy level as a mitigation. Any users that are implicitly trusting the proxy defined headers for security should immediately cease doing so until upgraded to the fixed versions. Added Reference GitHub, Inc. https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4 [No types assigned] Added Reference GitHub, Inc. https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers [No types assigned] Added CWE GitHub, Inc. CWE-639 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-45614
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-45614
weaknesses.