Attacks and Exploits

A tester reviews an application's OpenID Connect login flow. Which findings are exploitable OIDC weaknesses? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. A redirect_uri check that accepts any URL under the client's domainC. ID tokens accepted without verifying their signatureD. No validation of the state parameter on the callback

AWhy this is right: Loose redirect_uri matching lets an attacker redirect the code or tokens to a URL they control.

BWhy not this: XML signature wrapping is a SAML attack; OIDC uses JSON Web Tokens rather than XML assertions.

CWhy this is right: If the signature is not verified, an attacker can forge an ID token with any identity claims.

DWhy this is right: Skipping state validation allows cross-site request forgery against the login flow.

EWhy not this: Short token lifetimes and HTTPS transport are good practice, not a weakness to exploit.

Loose redirect_uri matching lets an attacker capture the authorization code or tokens, unverified ID token signatures allow forged tokens, and a missing state check allows login CSRF. XML signature wrapping targets SAML assertions, not OIDC's JSON-based tokens. Short-lived tokens over HTTPS are good practice.