ghsa-5q66-v53q-pm35
Vulnerability from github
Published
2023-09-12 21:10
Modified
2023-09-12 21:10
Severity ?
Summary
Keycloak vulnerable to Plaintext Storage of User Password
Details
A flaw was discovered in Keycloak Core package. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular attributes in the users attributes. The password is also created, but the user attributes must not be there. This way, any entities (all users and clients with proper rights/roles) are able to retrieve the users passwords in clear-text.
Impact
Passwords for self-registered users are stored as cleartext attributes associated with the user.
Mitigation
Disable self-registration for users in all realms until patched.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.keycloak:keycloak-core" }, "ranges": [ { "events": [ { "introduced": "22.0.2" }, { "fixed": "22.0.3" } ], "type": "ECOSYSTEM" } ], "versions": [ "22.0.2" ] } ], "aliases": [ "CVE-2023-4918" ], "database_specific": { "cwe_ids": [ "CWE-256", "CWE-319" ], "github_reviewed": true, "github_reviewed_at": "2023-09-12T21:10:37Z", "nvd_published_at": "2023-09-12T20:15:10Z", "severity": "HIGH" }, "details": "A flaw was discovered in Keycloak Core package. When a user registers itself through registration flow, the \"password\" and \"password-confirm\" field from the form will occur as regular attributes in the users attributes. The password is also created, but the user attributes must not be there. This way, any entities (all users and clients with proper rights/roles) are able to retrieve the users passwords in clear-text. \n\n### Impact\nPasswords for self-registered users are stored as cleartext attributes associated with the user. \n\n### Mitigation\nDisable self-registration for users in all realms until patched.\n\n", "id": "GHSA-5q66-v53q-pm35", "modified": "2023-09-12T21:10:37Z", "published": "2023-09-12T21:10:37Z", "references": [ { "type": "WEB", "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4918" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2023-4918" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2238588" }, { "type": "PACKAGE", "url": "https://github.com/keycloak/keycloak" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Keycloak vulnerable to Plaintext Storage of User Password" }
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.