CVE-2022-39348
Twisted Host Header Injection Vulnerability
Description
Twisted is an event-based framework for internet applications. Started with version 0.9.4, when the host header does not match a configured host `twisted.web.vhost.NameVirtualHost` will return a `NoResource` resource which renders the Host header unescaped into the 404 response allowing HTML and script injection. In practice this should be very difficult to exploit as being able to modify the Host header of a normal HTTP request implies that one is already in a privileged position. This issue was fixed in version 22.10.0rc1. There are no known workarounds.
INFO
Published Date :
Oct. 26, 2022, 8:15 p.m.
Last Modified :
March 8, 2023, 1:07 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.3
Affected Products
The following products are affected by CVE-2022-39348
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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-2022-39348
.
URL | Resource |
---|---|
https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b | Patch |
https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 | Patch |
https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647 | Exploit Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202301-02 | Third Party Advisory |
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-2022-39348
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39348
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Mar. 08, 2023
Action Type Old Value New Value Changed Reference Type https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b Patch, Third Party Advisory https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b Patch Changed Reference Type https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 Patch, Third Party Advisory https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html Mailing List, Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/202301-02 No Types Assigned https://security.gentoo.org/glsa/202301-02 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 11, 2023
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202301-02 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 28, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html [No Types Assigned] -
Reanalysis by [email protected]
Nov. 22, 2022
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:twistedmatrix:twisted:*:*:*:*:*:*:*:* versions from (including) 0.9.4 up to (excluding) 22.10.0 *cpe:2.3:a:twistedmatrix:twisted:22.10.0:-:*:*:*:*:*:* OR *cpe:2.3:a:twistedmatrix:twisted:*:*:*:*:*:*:*:* versions from (including) 0.9.4 up to (excluding) 22.10.0 -
Initial Analysis by [email protected]
Oct. 28, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b No Types Assigned https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b Patch, Third Party Advisory Changed Reference Type https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 No Types Assigned https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 Patch, Third Party Advisory Changed Reference Type https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647 No Types Assigned https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:twistedmatrix:twisted:*:*:*:*:*:*:*:* versions from (including) 0.9.4 up to (excluding) 22.10.0 *cpe:2.3:a:twistedmatrix:twisted:22.10.0:-:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39348
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-2022-39348
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.16 }} 0.02%
score
0.51830
percentile