CVE-2020-15134
Faye TLS Certificate Verification Weakness
Description
Faye before version 1.4.0, there is a lack of certification validation in TLS handshakes. Faye uses em-http-request and faye-websocket in the Ruby version of its client. Those libraries both use the `EM::Connection#start_tls` method in EventMachine to implement the TLS handshake whenever a `wss:` URL is used for the connection. This method does not implement certificate verification by default, meaning that it does not check that the server presents a valid and trusted TLS certificate for the expected hostname. That means that any `https:` or `wss:` connection made using these libraries is vulnerable to a man-in-the-middle attack, since it does not confirm the identity of the server it is connected to. The first request a Faye client makes is always sent via normal HTTP, but later messages may be sent via WebSocket. Therefore it is vulnerable to the same problem that these underlying libraries are, and we needed both libraries to support TLS verification before Faye could claim to do the same. Your client would still be insecure if its initial HTTPS request was verified, but later WebSocket connections were not. This is fixed in Faye v1.4.0, which enables verification by default. For further background information on this issue, please see the referenced GitHub Advisory.
INFO
Published Date :
July 31, 2020, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 5:04 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.8
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2020-15134 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-2020-15134
.
URL | Resource |
---|---|
https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ | Exploit Third Party Advisory |
https://github.com/faye/faye/security/advisories/GHSA-3q49-h8f9-9fr9 | Exploit Third Party Advisory |
https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ | Exploit Third Party Advisory |
https://github.com/faye/faye/security/advisories/GHSA-3q49-h8f9-9fr9 | Exploit 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).
Awesome information for WebSockets security research
security websocket websockets security-tools websocket-security websockets-security web-application-security
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-15134
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-15134
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://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ Added Reference https://github.com/faye/faye/security/advisories/GHSA-3q49-h8f9-9fr9 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Aug. 11, 2020
Action Type Old Value New Value Added CVSS V2 Metadata Access Complexity Insufficient Information Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N Changed Reference Type https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ No Types Assigned https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ Exploit, Third Party Advisory Changed Reference Type https://github.com/faye/faye/security/advisories/GHSA-3q49-h8f9-9fr9 No Types Assigned https://github.com/faye/faye/security/advisories/GHSA-3q49-h8f9-9fr9 Exploit, Third Party Advisory Added CWE NIST CWE-295 Added CPE Configuration OR *cpe:2.3:a:faye_project:faye:*:*:*:*:*:*:*:* versions up to (excluding) 1.4.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-2020-15134
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-2020-15134
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.12 }} -0.16%
score
0.28131
percentile