English edition · cyberattaques.org in FrenchFrançais
Vulnerability

Shibboleth Identity Provider: OpenID Connect OP plugin open to server-side request forgery

The OpenID Connect OP plugin for the Shibboleth Identity Provider, up to version 4.3.3, can be made to send requests to internal addresses, including the IdP's own loopback interface. Deployments that allow dynamic client registration or use request_uris are the most exposed.

What to do now Illustration photo (server network authentication)

France's CERT-FR issued notice CERTFR-2026-AVI-1669 on 4 December 2026. It relays two security advisories published by the Shibboleth project the day before, secadv_20261203 and secadv_20261203a. Both concern server-side request forgery (SSRF) in the OpenID Connect OP plugin, which lets the Shibboleth Identity Provider act as an OpenID Connect provider. Shibboleth rates the issue as of "medium" importance.

Every version of the OIDC OP plugin up to and including 4.3.3 is affected, with differences by parameter. The request_uri case for statically configured clients affects all versions. Dynamically registered request_uris are affected from 3.4.0, and backchannel_logout_uri from 4.1.0. The fix also requires updating two plugins the OP depends on: OIDC Common and OIDC Shared Configuration.

The plugin makes HTTP requests to several addresses supplied by OAuth2/OIDC clients. The request_uri is fetched at the authorization and pushed authorization request (PAR) endpoints, before any user has authenticated. The jwks_uri is fetched whenever the client's keys are needed, and also during dynamic registration when idp.oidc.dynreg.validateRemoteJwks is enabled, which is the default. The sector_identifier_uri is fetched during dynamic registration. The backchannel_logout_uri receives a POST from the IdP each time a user logs out.

For all of these requests, the plugin accepted plain HTTP and followed redirects, even to another scheme or to loopback addresses. It did not check the destination, put no limit on response size and did not always check the HTTP status. An attacker could therefore make the IdP contact addresses reachable only from its own host. The most sensitive target is the IdP's own loopback interface, where the admin endpoints are by default protected by an IP-address rule that the IdP itself satisfies. The requests are blind, however: the responses never reach the attacker.

Exploitation requires that the attacker can register a client dynamically, or controls content at an address listed in the URIs of a statically registered client. According to the vendor, deployments that use neither dynamic registration nor request_uris are affected only to a limited extent. Neither advisory mentions observed exploitation, and the source material gives no CVE identifier specific to these flaws.

The request_uri issue follows on from CVE-2022-24129. The fix for that flaw, in OP plugin 3.0.4, made pre-registered request_uris the default, but it did not restrict the fetch itself. The second advisory, secadv_20261203a, covers missing scheme checks on these values during dynamic registration. Its full text is not included in the source material.

The fixed versions now apply several restrictions to all of these requests by default. Only https addresses with a host are accepted, both at registration and when the request is sent, which also covers existing and static clients. Redirects are no longer followed. Requests are refused when the address resolves to loopback, "this host" (0.0.0.0/8, ::), link-local (including cloud metadata endpoints), multicast or IPv4-compatible IPv6 ranges. Responses must carry a 2xx status and are capped at 1 MB. Connection and socket timeouts are set to 10 seconds. A JWK set refetch triggered by an unknown key ID is limited to once every 5 seconds per jwks_uri.

Private ranges (RFC 1918, unique local addresses, carrier-grade NAT) remain allowed by default, because some relying parties sit on internal networks. Sites without such relying parties should add these ranges to the new property idp.oidc.httpClient.disallowedRanges. For those who cannot update yet, the vendor suggests three measures. The first is to define the shibboleth.oidc.NonBrowser.HttpClient bean as a child of shibboleth.InternalHttpClient, with redirects disabled and short timeouts. The second is to restrict the host's outbound traffic at network level, especially to its own loopback and link-local addresses. The third is to disable dynamic registration for unverified clients or require registration access tokens.

Action plan

What to do now

  1. Update to OIDC OP plugin 4.4.0 or later, OIDC Common 3.4.0 or later and OIDC Shared Configuration 3.1.0 or later, using the IdP's plugin installer.
  2. After updating, add the private address ranges to idp.oidc.httpClient.disallowedRanges unless relying parties are expected on the internal network.
  3. If you cannot update yet, define the shibboleth.oidc.NonBrowser.HttpClient bean as a child of shibboleth.InternalHttpClient with redirects disabled and short timeouts.
  4. Restrict outbound connections from the IdP host, in particular to its own loopback and link-local addresses.
  5. Disable dynamic client registration for unverified clients, or require registration access tokens.

Sources