CWE
94
Advisory Published
Updated

REDHAT-BUG-2331178: Code Injection

First published: Mon Dec 09 2024(Updated: )

When using the RH SSO OIDC adapter with EAP 7.x or when using the elytron-oidc-client subsystem with EAP 8.x, there is a potential for authorization code injection attacks. That means that an attacker can inject a stolen authorization code into the attacker's own session with the client. This allows the attacker to associate its session with the client with a victim's identity. Requirements to exploit: * The attacker needs to obtain an authorization code from an authorization response sent to the client. * The attacker can then access the application and start the login process with the legitimate client. * In the response of the OpenID provider to the legitimate client, the attacker can replace the newly sent authorization code with the previously stolen authorization code. * The legitimate client will send that stolen authorization code and along with its credentials to the OpenID provider to exchange the code for a token. * The OpenID provider's checks will succeed and a token will be issued to the client. * The attacker has now associated their session with the legitimate client with the victim's identity.

Affected SoftwareAffected VersionHow to fix
Red Hat Single Sign-On=7.x
Red Hat Elytron OIDC Client Subsystem=8.x

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2331178?

    The severity of REDHAT-BUG-2331178 is critical due to its potential for allowing authorization code injection attacks.

  • How do I fix REDHAT-BUG-2331178?

    To fix REDHAT-BUG-2331178, update to the latest versions of the RH SSO OIDC adapter for EAP 7.x or the elytron-oidc-client subsystem for EAP 8.x.

  • What products are affected by REDHAT-BUG-2331178?

    REDHAT-BUG-2331178 affects the Red Hat Single Sign-On OIDC adapter version 7.x and the elytron-oidc-client subsystem version 8.x.

  • How can REDHAT-BUG-2331178 impact my system?

    REDHAT-BUG-2331178 can allow an attacker to inject a stolen authorization code, potentially compromising user sessions and sensitive data.

  • Is there a workaround for REDHAT-BUG-2331178?

    Currently, there are no documented workarounds for REDHAT-BUG-2331178; upgrading to the patched versions is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203