GHSA-j3jp-gvr5-7hwq
Vulnerability from github
Published
2019-07-30 20:47
Modified
2024-10-25 20:48
Summary
python-engineio vulnerable to Cross-Site Request Forgery (CSRF)
Details

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: * Open an issue in python-engineio

Show details on source website


{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 3.8.2"
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "python-engineio"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.9.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-13611"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-352"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:41:53Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "## WebSocket cross-origin vulnerability\n\n### Impact\nThis is a Cross-Site Request Forgery (CSRF) vulnerability. It affects Socket.IO and Engine.IO web servers that authenticate clients using cookies.\n\n### Patches\npython-engineio version 3.9.0 patches this vulnerability by adding server-side Origin header checks.\n\n### Workarounds\nDo not use cookies for client authentication, or else add a CSRF token to the connection URL.\n\n### References\nhttps://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)\nhttps://www.christian-schneider.net/CrossSiteWebSocketHijacking.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [python-engineio](http://github.com/miguelgrinberg/python-engineio)",
  "id": "GHSA-j3jp-gvr5-7hwq",
  "modified": "2024-10-25T20:48:05Z",
  "published": "2019-07-30T20:47:25Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/miguelgrinberg/python-engineio/security/advisories/GHSA-j3jp-gvr5-7hwq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13611"
    },
    {
      "type": "WEB",
      "url": "https://github.com/miguelgrinberg/python-engineio/issues/128"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-j3jp-gvr5-7hwq"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/miguelgrinberg/python-engineio"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/python-engineio/PYSEC-2019-170.yaml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "python-engineio vulnerable to Cross-Site Request Forgery (CSRF) "
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…