ghsa-3rmw-76m6-4gjc
Vulnerability from github
Impact
Zitadel allows administrators to disable the user self-registration. Due to a missing security check in versions prior to 2.63.4, disabling the "User Registration allowed" option only hid the registration button on the login page. Users could bypass this restriction by directly accessing the registration URL (/ui/login/loginname) and register a user that way.
Patches
2.x versions are fixed on >= 2.64.0 2.63.x versions are fixed on >= 2.63.5 2.62.x versions are fixed on >= 2.62.7 2.61.x versions are fixed on >= 2.61.4 2.60.x versions are fixed on >= 2.60.4 2.59.x versions are fixed on >= 2.59.5 2.58.x versions are fixed on >= 2.58.7
Workarounds
Updating to the patched version is the recommended solution.
Questions
If you have any questions or comments about this advisory, please email us at security@zitadel.com
Credits
Thanks to @sevensolutions and @evilgensec for disclosing this!
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.63.0" }, { "fixed": "2.63.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.62.0" }, { "fixed": "2.62.7" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.61.0" }, { "fixed": "2.61.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.60.0" }, { "fixed": "2.60.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "2.59.0" }, { "fixed": "2.59.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/zitadel/zitadel" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.58.7" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-49757" ], "database_specific": { "cwe_ids": [ "CWE-287" ], "github_reviewed": true, "github_reviewed_at": "2024-10-25T19:30:14Z", "nvd_published_at": "2024-10-25T15:15:18Z", "severity": "HIGH" }, "details": "### Impact\nZitadel allows administrators to disable the user self-registration. Due to a missing security check in versions prior to 2.63.4, disabling the \"User Registration allowed\" option only hid the registration button on the login page. Users could bypass this restriction by directly accessing the registration URL (/ui/login/loginname) and register a user that way.\n\n### Patches\n\n2.x versions are fixed on \u003e= [2.64.0](https://github.com/zitadel/zitadel/releases/tag/v2.64.0)\n2.63.x versions are fixed on \u003e= [2.63.5](https://github.com/zitadel/zitadel/releases/tag/v2.63.5)\n2.62.x versions are fixed on \u003e= [2.62.7](https://github.com/zitadel/zitadel/releases/tag/v2.62.7)\n2.61.x versions are fixed on \u003e= [2.61.4](https://github.com/zitadel/zitadel/releases/tag/v2.61.4)\n2.60.x versions are fixed on \u003e= [2.60.4](https://github.com/zitadel/zitadel/releases/tag/v2.60.4)\n2.59.x versions are fixed on \u003e= [2.59.5](https://github.com/zitadel/zitadel/releases/tag/v2.59.5)\n2.58.x versions are fixed on \u003e= [2.58.7](https://github.com/zitadel/zitadel/releases/tag/v2.58.7)\n\n### Workarounds\nUpdating to the patched version is the recommended solution.\n\n### Questions\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\nThanks to @sevensolutions and @evilgensec for disclosing this!\n", "id": "GHSA-3rmw-76m6-4gjc", "modified": "2024-10-25T19:30:14Z", "published": "2024-10-25T19:30:14Z", "references": [ { "type": "WEB", "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-3rmw-76m6-4gjc" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-49757" }, { "type": "PACKAGE", "url": "https://github.com/zitadel/zitadel" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.58.7" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.59.5" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.60.4" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.61.4" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.62.7" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.63.5" }, { "type": "WEB", "url": "https://github.com/zitadel/zitadel/releases/tag/v2.64.0" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "User Registration Bypass in Zitadel" }
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.