{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-5967",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "state": "PUBLISHED",
        "assignerShortName": "redhat",
        "dateReserved": "2024-06-13T12:33:44.661Z",
        "datePublished": "2024-06-18T12:05:39.289Z",
        "dateUpdated": "2024-09-27T11:42:09.662Z"
    },
    "containers": {
        "cna": {
            "title": "Keycloak: leak of configured ldap bind credentials through the keycloak admin console",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Low",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 2.7,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A vulnerability was found in Keycloak. The LDAP testing endpoint allows changing the Connection URL  independently without re-entering the currently configured LDAP bind credentials. This flaw allows an attacker with admin access (permission manage-realm) to change the LDAP host URL (\"Connection URL\") to a machine they control. The Keycloak server will connect to the attacker's host and try to authenticate with the configured credentials, thus leaking them to the attacker. As a consequence, an attacker who has compromised the admin console or compromised a user with sufficient privileges can leak domain credentials and attack the domain."
                }
            ],
            "affected": [
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "packageName": "keycloak-core",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:22"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 22",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-operator-bundle",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "22.0.12-1",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:22::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 22",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "22-17",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:22::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 22",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9-operator",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "22-20",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:22::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Single Sign-On 7",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "packageName": "keycloak-core",
                    "cpes": [
                        "cpe:/a:redhat:red_hat_single_sign_on:7.6"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Single Sign-On 7.6 for RHEL 7",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "rh-sso7-keycloak",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0:18.0.16-1.redhat_00001.1.el7sso",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:red_hat_single_sign_on:7.6::el7"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Single Sign-On 7.6 for RHEL 8",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "rh-sso7-keycloak",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0:18.0.16-1.redhat_00001.1.el8sso",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:red_hat_single_sign_on:7.6::el8"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Single Sign-On 7.6 for RHEL 9",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "rh-sso7-keycloak",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0:18.0.16-1.redhat_00001.1.el9sso",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:red_hat_single_sign_on:7.6::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "RHEL-8 based Middleware Containers",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rh-sso-7/sso76-openshift-rhel8",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "7.6-52",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:rhosemc:1.0::el8"
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6493",
                    "name": "RHSA-2024:6493",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6494",
                    "name": "RHSA-2024:6494",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6495",
                    "name": "RHSA-2024:6495",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6497",
                    "name": "RHSA-2024:6497",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6499",
                    "name": "RHSA-2024:6499",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6500",
                    "name": "RHSA-2024:6500",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2024:6501",
                    "name": "RHSA-2024:6501",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2024-5967",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2292200",
                    "name": "RHBZ#2292200",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                }
            ],
            "datePublic": "2024-06-13T00:00:00+00:00",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-276",
                            "description": "Incorrect Default Permissions",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-276: Incorrect Default Permissions",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."
                }
            ],
            "timeline": [
                {
                    "lang": "en",
                    "time": "2024-06-13T00:00:00+00:00",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2024-06-13T00:00:00+00:00",
                    "value": "Made public."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Upstream acknowledges Simon Wessling as the original reporter."
                }
            ],
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2024-09-27T11:42:09.662Z"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-06-18T15:10:07.326821Z",
                                "id": "CVE-2024-5967",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-18T15:10:16.045Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T21:25:03.165Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://access.redhat.com/security/cve/CVE-2024-5967",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2292200",
                        "name": "RHBZ#2292200",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}