CVE-2023-38697
Falcon HTTP Protocol Violation - HTTP Request Smuggling and Firewall Bypassing
Description
protocol-http1 provides a low-level implementation of the HTTP/1 protocol. RFC 9112 Section 7.1 defined the format of chunk size, chunk data and chunk extension. The value of Content-Length header should be a string of 0-9 digits, the chunk size should be a string of hex digits and should split from chunk data using CRLF, and the chunk extension shouldn't contain any invisible character. However, Falcon has following behaviors while disobey the corresponding RFCs: accepting Content-Length header values that have `+` prefix, accepting Content-Length header values that written in hexadecimal with `0x` prefix, accepting `0x` and `+` prefixed chunk size, and accepting LF in chunk extension. This behavior can lead to desync when forwarding through multiple HTTP parsers, potentially results in HTTP request smuggling and firewall bypassing. This issue is fixed in `protocol-http1` v0.15.1. There are no known workarounds.
INFO
Published Date :
Aug. 4, 2023, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 8:14 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
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-2023-38697
.
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).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-38697
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-38697
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.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/socketry/protocol-http1/commit/e11fc164fd2b36f7b7e785e69fa8859eb06bcedd Added Reference https://github.com/socketry/protocol-http1/pull/20 Added Reference https://github.com/socketry/protocol-http1/security/advisories/GHSA-6jwc-qr2q-7xwj Added Reference https://www.rfc-editor.org/rfc/rfc9112#name-chunked-transfer-coding -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Aug. 10, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/socketry/protocol-http1/commit/e11fc164fd2b36f7b7e785e69fa8859eb06bcedd No Types Assigned https://github.com/socketry/protocol-http1/commit/e11fc164fd2b36f7b7e785e69fa8859eb06bcedd Patch Changed Reference Type https://github.com/socketry/protocol-http1/pull/20 No Types Assigned https://github.com/socketry/protocol-http1/pull/20 Issue Tracking Changed Reference Type https://github.com/socketry/protocol-http1/security/advisories/GHSA-6jwc-qr2q-7xwj No Types Assigned https://github.com/socketry/protocol-http1/security/advisories/GHSA-6jwc-qr2q-7xwj Vendor Advisory Changed Reference Type https://www.rfc-editor.org/rfc/rfc9112#name-chunked-transfer-coding No Types Assigned https://www.rfc-editor.org/rfc/rfc9112#name-chunked-transfer-coding Technical Description Added CPE Configuration OR *cpe:2.3:a:socketry:protocol-http1:*:*:*:*:*:*:*:* versions up to (excluding) 0.15.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-38697
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-2023-38697
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.19 }} 0.02%
score
0.41747
percentile