{"id":"CVE-2023-4918","state":"PUBLISHED","title":"Plaintext storage of user password","description":"A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the \"password\" and \"password-confirm\" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attributes, allowing a malicious user with minimal access to retrieve the users passwords in clear text, jeopardizing their environment.","publishedAt":"2023-09-12T19:24:59.955Z","updatedAt":"2024-09-25T19:53:21.639Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["n/a keycloak","Red Hat Red Hat Single Sign-On 7"],"affected":[{"vendor":"n/a","product":"keycloak","versions":[{"version":"22.0.3","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":["https://access.redhat.com/security/cve/CVE-2023-4918","https://bugzilla.redhat.com/show_bug.cgi?id=2238588","https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35"],"weaknesses":["CWE-256"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/4xxx/CVE-2023-4918.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-4918","state":"PUBLISHED","datePublished":"2023-09-12T19:24:59.955Z","dateUpdated":"2024-09-25T19:53:21.639Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2023-09-12T15:02:05.129Z"},"containers":{"cna":{"title":"Plaintext storage of user password","descriptions":[{"lang":"en","value":"A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the \"password\" and \"password-confirm\" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attributes, allowing a malicious user with minimal access to retrieve the users passwords in clear text, jeopardizing their environment."}],"affected":[{"vendor":"n/a","product":"keycloak","versions":[{"version":"22.0.3","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","packageName":"keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:red_hat_single_sign_on:7"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-4918","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2238588","name":"RHBZ#2238588","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35"}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-256","description":"Plaintext Storage of a Password","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2024-01-23T00:56:17.069Z"},"datePublic":"2023-09-12T00:00:00.000Z","x_redhatCweChain":"CWE-256: Plaintext Storage of a Password","timeline":[{"lang":"en","time":"2023-09-12T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2023-09-12T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Upstream acknowledges Niko Köbler as the original reporter."}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-4918","tags":["vdb-entry","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2238588","name":"RHBZ#2238588","tags":["issue-tracking","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T07:44:52.148Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-25T19:53:12.636573Z","id":"CVE-2023-4918","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-25T19:53:21.639Z"}}]}}}