org.keycloak:keycloak-services@26.8.0

  • latest version

    26.8.1

  • first published

    12 years ago

  • latest version published

    26 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.keycloak:keycloak-services package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improperly Controlled Modification of Dynamically-Determined Object Attributes

    org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

    Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the stripPrivilegedAttributes function in AbstractClientRegistrationProvider. During Dynamic Client Registration, this function processes client attributes but removes only those prefixed with ssf., allowing an attacker with a valid Initial Access Token to register a client with allow.token.introspection.without.audience.check enabled. The attacker can use that client to introspect access tokens issued to other applications in the same realm and view sensitive identity information, roles, and session details.

    Notes

    • The registration step requires Dynamic Client Registration to be enabled for the realm associated with the attacker’s Initial Access Token.

    How to fix Improperly Controlled Modification of Dynamically-Determined Object Attributes?

    There is no fixed version for org.keycloak:keycloak-services.

    [0,)
    • H
    Authorization Bypass Through User-Controlled Key

    org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

    Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the IdpEmailVerificationAuthenticator in the first-broker-login flow. When an identity provider omits the broker user ID and a duplicate email triggers linking to an existing local account, the verification proof in IdpEmailVerificationAuthenticator and IdpCreateUserIfUniqueAuthenticator is not bound to a specific upstream identity. An attacker with a different account on the same provider can intercept and complete the verification flow, linking their identity to the victim’s profile and gaining access to the victim’s account.

    How to fix Authorization Bypass Through User-Controlled Key?

    Upgrade org.keycloak:keycloak-services to version 26.6.8, 26.8.1 or higher.

    [,26.6.8)[26.8.0,26.8.1)
    • H
    Replay Attack

    org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

    Affected versions of this package are vulnerable to Replay Attack through IdP-initiated broker logins in the services/src/main/java/org/keycloak/broker/saml component. An attacker can hijack a user session and gain unauthorized access by resending a captured, valid SAML assertion that contains a OneTimeUse condition. When Keycloak accepts the assertion without tracking whether that assertion ID was already used, the same unused response can be replayed multiple times against the broker flow. This affects deployments using Keycloak as a SAML identity broker with IdP-initiated login enabled.

    How to fix Replay Attack?

    A fix was pushed into the master branch but not yet published.

    [0,)
    • M
    Improper Verification of Cryptographic Signature

    org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

    Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature in the backchannel logout endpoint of the keycloak-services component. An attacker can force a user to log out by sending a logout request without a cryptographic signature when an OIDC identity provider is configured to skip signature validation. This lets the attacker disrupt the user’s active session and break access to applications until the user signs in again.

    How to fix Improper Verification of Cryptographic Signature?

    There is no fixed version for org.keycloak:keycloak-services.

    [0,)
    • H
    Improper Validation of Consistency within Input

    org.keycloak:keycloak-services is an open source identity and access management solution for modern applications and services.

    Affected versions of this package are vulnerable to Improper Validation of Consistency within Input in the identity provider update flow for OIDC identity providers. An attacker can capture the existing client secret by sending an update as a delegated administrator that reuses the masked client secret sentinel value while changing security-sensitive settings such as the token URL. The vulnerable code path manages identity provider configuration updates in keycloak-services, and it accepts the update without forcing the secret to be revalidated against the changed endpoint. This lets the attacker redirect secret-bearing requests to an endpoint they control and expose the real client secret, breaking the confidentiality of the identity provider credentials.

    How to fix Improper Validation of Consistency within Input?

    Upgrade org.keycloak:keycloak-services to version 26.8.1 or higher.

    [2.4.0.CR1,26.8.1)