GHSA-H77F-XXX7-4858

Vulnerability from github – Published: 2021-09-07 23:04 – Updated: 2021-09-07 14:04
VLAI?
Summary
User impersonation due to incorrect handling of the login JWT
Details

Impact

This allows anyone that can connect to the server to forge a LoginPacket with manipulated JWT token allowing impersonation as any Bedrock user. Unless credentials are saved in your configuration, online mode is not affected as users are still required to log in separately. If your credentials are saved, there is no risk of exposing your email or password.

Patches

This was patched as part of https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6 and https://github.com/GeyserMC/Geyser/commit/ab2f5b326fe590e09167e8b45b4b165ac06ecd13. if your Geyser version is 1.4.2-SNAPSHOT or later, the issue has been addressed on your build.

Workarounds

Geyser strongly recommends updating to fix this issue. If this isn't possible: - Use online mode and don't save credentials in your Geyser configuration - Use an additional authentication method on the Java server

References

This was disclosed to us by a staff member over at Hive; you can read their disclosure here: https://updates.playhive.com/weekend-maintenance-disclosure-2kJMaY

For more information

If you have any questions or comments about this advisory: * Come talk to us over on our Discord server in the #development channel

Show details on source website

{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.4.1-SNAPSHOT"
      },
      "package": {
        "ecosystem": "Maven",
        "name": "org.geysermc:connector"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.2-SNAPSHOT"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-39177"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-287"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-09-07T14:04:02Z",
    "nvd_published_at": "2021-08-30T23:15:00Z",
    "severity": "HIGH"
  },
  "details": "### Impact\n\u003c!--_What kind of vulnerability is it? Who is impacted?_--\u003e\nThis allows anyone that can connect to the server to forge a LoginPacket with manipulated JWT token allowing impersonation as any Bedrock user. Unless credentials are saved in your configuration, online mode is not affected as users are still required to log in separately. If your credentials are saved, there is no risk of exposing your email or password.\n\n### Patches\n\u003c!--_Has the problem been patched? What versions should users upgrade to?_--\u003e\nThis was patched as part of https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6 and https://github.com/GeyserMC/Geyser/commit/ab2f5b326fe590e09167e8b45b4b165ac06ecd13. if your Geyser version is `1.4.2-SNAPSHOT` or later, the issue has been addressed on your build.\n\n### Workarounds\n\u003c!--_Is there a way for users to fix or remediate the vulnerability without upgrading?_--\u003e\nGeyser strongly recommends updating to fix this issue. If this isn\u0027t possible:\n- Use online mode and don\u0027t save credentials in your Geyser configuration\n- Use an additional authentication method on the Java server\n\n### References\n\u003c!--_Are there any links users can visit to find out more?_--\u003e\nThis was disclosed to us by a staff member over at Hive; you can read their disclosure here: https://updates.playhive.com/weekend-maintenance-disclosure-2kJMaY\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Come talk to us over on our [Discord](https://discord.gg/geysermc) server in the [#development](https://discord.com/channels/613163671870242838/613170125696270357) channel\n",
  "id": "GHSA-h77f-xxx7-4858",
  "modified": "2021-09-07T14:04:02Z",
  "published": "2021-09-07T23:04:04Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/GeyserMC/Geyser/security/advisories/GHSA-h77f-xxx7-4858"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39177"
    },
    {
      "type": "WEB",
      "url": "https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/GeyserMC/Geyser"
    },
    {
      "type": "WEB",
      "url": "https://updates.playhive.com/weekend-maintenance-disclosure-2kJMaY"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "User impersonation due to incorrect handling of the login JWT"
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…