CVE-2022-21671
Replit crosis Token Exposure via WebSocket Fallback Proxy Vulnerability
Description
@replit/crosis is a JavaScript client that speaks Replit's container protocol. A vulnerability that involves exposure of sensitive information exists in versions prior to 7.3.1. When using this library as a way to programmatically communicate with Replit in a standalone fashion, if there are multiple failed attempts to contact Replit through a WebSocket, the library will attempt to communicate using a fallback poll-based proxy. The URL of the proxy has changed, so any communication done to the previous URL could potentially reach a server that is outside of Replit's control and the token used to connect to the Repl could be obtained by an attacker, leading to full compromise of that Repl (not of the account). This was patched in version 7.3.1 by updating the address of the fallback WebSocket polling proxy to the new one. As a workaround, a user may specify the new address for the polling host (`gp-v2.replit.com`) in the `ConnectArgs`. More information about this workaround is available in the GitHub Security Advisory.
INFO
Published Date :
Jan. 11, 2022, 3:15 p.m.
Last Modified :
Nov. 21, 2024, 6:45 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-21671 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-21671
.
URL | Resource |
---|---|
https://github.com/replit/crosis/commit/e44b6a8f5fa28cb2872e3c19bb8a205bb5bfc281 | Patch Third Party Advisory |
https://github.com/replit/crosis/security/advisories/GHSA-7w54-gp8x-f33m | Mitigation Third Party Advisory |
https://github.com/replit/crosis/commit/e44b6a8f5fa28cb2872e3c19bb8a205bb5bfc281 | Patch Third Party Advisory |
https://github.com/replit/crosis/security/advisories/GHSA-7w54-gp8x-f33m | Mitigation 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).
test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC
cve-2020-
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-21671
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-21671
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/replit/crosis/commit/e44b6a8f5fa28cb2872e3c19bb8a205bb5bfc281 Added Reference https://github.com/replit/crosis/security/advisories/GHSA-7w54-gp8x-f33m -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 24, 2023
Action Type Old Value New Value Removed CWE NIST CWE-200 Added CWE NIST NVD-CWE-Other -
Initial Analysis by [email protected]
Jan. 24, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/replit/crosis/commit/e44b6a8f5fa28cb2872e3c19bb8a205bb5bfc281 No Types Assigned https://github.com/replit/crosis/commit/e44b6a8f5fa28cb2872e3c19bb8a205bb5bfc281 Patch, Third Party Advisory Changed Reference Type https://github.com/replit/crosis/security/advisories/GHSA-7w54-gp8x-f33m No Types Assigned https://github.com/replit/crosis/security/advisories/GHSA-7w54-gp8x-f33m Mitigation, Third Party Advisory Added CWE NIST CWE-200 Added CPE Configuration OR *cpe:2.3:a:replit:crosis:*:*:*:*:*:*:*:* versions up to (excluding) 7.3.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-2022-21671
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-21671
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.36 }} -0.39%
score
0.54955
percentile