CVE-2019-13611
JSON

8.8high

python-engineio vulnerable to Cross-Site Request Forgery (CSRF)

Severity
8.8high CVSS:3.0 by NVD
Exploit likelihood
0.85% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-j3jp-gvr5-7hwqPYSEC-2019-170

Description

An issue was discovered in python-engineio through 3.8.2. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to a server by using a victim's credentials, because the Origin header is not restricted.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
python-engineio (PyPI)before 3.9.0GitHub Advisory Database, PyPA Advisory Database
python-engineio_project python-engineioup to 3.8.2NVD

All scores

GitHub8.8high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

An issue was discovered in python-engineio through 3.8.2. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to a server by using a victim's credentials, because the Origin header is not restricted.

GitHub Advisory Database

WebSocket cross-origin vulnerability

Impact

This is a Cross-Site Request Forgery (CSRF) vulnerability. It affects Socket.IO and Engine.IO web servers that authenticate clients using cookies.

Patches

python-engineio version 3.9.0 patches this vulnerability by adding server-side Origin header checks.

Workarounds

Do not use cookies for client authentication, or else add a CSRF token to the connection URL.

References

https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF) https://www.christian-schneider.net/CrossSiteWebSocketHijacking.html

For more information

If you have any questions or comments about this advisory:

NVD (es)

Se descubrió un problema en python-engineio hasta la versión 3.8.2. Se presenta una vulnerabilidad de tipo Cross-Site WebSocket Hijacking (CSWSH) que permite a los atacantes realizar conexiones de WebSocket hacia un servidor mediante el uso de las credenciales de la víctima, debido a que el encabezado Origin no está restringido.

References

Sources

SourceRecordLicence
CVE ListCVE-2019-13611 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-j3jp-gvr5-7hwq changed 2024-10-25CC-BY-4.0
NVDCVE-2019-13611 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2019-170 changed 2023-11-08CC-BY-4.0