keycloak: keycloak uses hardcoded open dummy domain for new accounts enabling information disclosure
Published Jan 7, 2020
9.1
CRITICALCVSS 3.1
EPSS 1.72%
Description
A flaw was found in keycloack before version 8.0.0. The owner of 'placeholder.org' domain can setup mail server on this domain and knowing only name of a client can reset password and then log in. For example, for client name 'test' the email address will be 'service-account-test@placeholder.org'.
Affected products
-
- Version before 8.0.0StatusaffectedConstraints-
- Version
Configuration 2
- 7.3
No data.
Red Hat Single Sign-On 7.3
n/a
Fixed · RHSA-2019:4045
Red Hat Single Sign-On 7.3 for RHEL 6
rh-sso7-keycloak-0:4.8.15-1.Final_redhat_00001.1.el6sso
Fixed · RHSA-2019:4040
Red Hat Single Sign-On 7.3 for RHEL 7
rh-sso7-keycloak-0:4.8.15-1.Final_redhat_00001.1.el7sso
Fixed · RHSA-2019:4041
Red Hat Single Sign-On 7.3 for RHEL 8
rh-sso7-keycloak-0:4.8.15-1.Final_redhat_00001.1.el8sso
Fixed · RHSA-2019:4042
Red Hat Fuse 7
keycloak
Not affected
Red Hat Mobile Application Platform 4
keycloak
Not affected
Red Hat OpenShift Application Runtimes
keycloak
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Single Sign-On 7.3 | n/a | Fixed | RHSA-2019:4045 |
| Red Hat Single Sign-On 7.3 for RHEL 6 | rh-sso7-keycloak-0:4.8.15-1.Final_redhat_00001.1.el6sso | Fixed | RHSA-2019:4040 |
| Red Hat Single Sign-On 7.3 for RHEL 7 | rh-sso7-keycloak-0:4.8.15-1.Final_redhat_00001.1.el7sso | Fixed | RHSA-2019:4041 |
| Red Hat Single Sign-On 7.3 for RHEL 8 | rh-sso7-keycloak-0:4.8.15-1.Final_redhat_00001.1.el8sso | Fixed | RHSA-2019:4042 |
| Red Hat Fuse 7 | keycloak | Not affected | n/a |
| Red Hat Mobile Application Platform 4 | keycloak | Not affected | n/a |
| Red Hat OpenShift Application Runtimes | keycloak | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
It is not a very straight forward workaround but it is possible to mitigate this by manually editing the default Email ID (service_account_name@placeholder.org) to some valid email ID (abc@gmail.com) in the USER_ENTITY table in the RHSSO database used.
References (8)
- https://access.redhat.com/security/cve/CVE-2019-14837 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1730227 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14837 x_refsource_CONFIRMExploitIssue TrackingVendor Advisory
- https://github.com/advisories/GHSA-cf8f-w2c5-p5jr Advisory
- https://github.com/keycloak/keycloak/commit/9a7c1a91a59ab85e7f8889a505be04a71580777f x_refsource_CONFIRMPatchThird Party Advisory
- https://issues.jboss.org/browse/KEYCLOAK-10780 x_refsource_CONFIRMIssue TrackingPermissions RequiredVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-14837
- https://www.cve.org/CVERecord?id=CVE-2019-14837
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2019-14837 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1730227 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14837 | x_refsource_CONFIRMExploitIssue TrackingVendor Advisory | |
| https://github.com/advisories/GHSA-cf8f-w2c5-p5jr | Advisory | |
| https://github.com/keycloak/keycloak/commit/9a7c1a91a59ab85e7f8889a505be04a71580777f | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://issues.jboss.org/browse/KEYCLOAK-10780 | x_refsource_CONFIRMIssue TrackingPermissions RequiredVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-14837 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-14837 |
Change history (0)
No recorded changes yet.