CVE-2022-45442
Sinatra Reflected File Download
Description
Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a response when the filename is derived from user-supplied input. Version 2.2.3 and 3.0.4 contain patches for this issue.
INFO
Published Date :
Nov. 28, 2022, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 7:29 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-45442 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-2022-45442
.
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).
None
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-45442
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-45442
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/advisories/GHSA-8x94-hmjh-97hq Added Reference https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b Added Reference https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html Added Reference https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Feb. 01, 2023
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 10, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 01, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/advisories/GHSA-8x94-hmjh-97hq No Types Assigned https://github.com/advisories/GHSA-8x94-hmjh-97hq Not Applicable Changed Reference Type https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b No Types Assigned https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b Patch, Third Party Advisory Changed Reference Type https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw No Types Assigned https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw Third Party Advisory Changed Reference Type https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf No Types Assigned https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf Exploit, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.2.3 *cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.4
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-45442
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-45442
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.61 }} 0.06%
score
0.78512
percentile