Skip to content
IAM Insights

Research · Finding · published · Boston Identity

BI-FIND-2025-0391

Two risks the authors name come from a client following a resource's pointers: token replay at a legitimate server and server-side request forgery.

Two of the risks the authors name come from a client following pointers a resource hands it. A malicious resource server can use a WWW-Authenticate challenge to get a client to request a token with a legitimate server's scope, then replay that token at the legitimate server. The authors say the attack is possible in plain OAuth but "made somewhat more likely by the use of dynamically configured clients," so they recommend audience-restricted tokens and Resource Indicators (RFC 8707), and say a client that talks to several resource servers SHOULD request them. Because the client fetches an issuer it learned from the resource, clients SHOULD also guard against server-side request forgery, for example by blocking internal IP address ranges.

high confidencebest source: independent researchobserved Apr 2025 – Jul 2026

SourceOAuth 2.0 Protected Resource Metadata (RFC 9728) · RFC Editor · · read

About OAuth 2.0 Protected Resource Metadata, Resource Indicators for OAuth 2.0 and Standards.

From the briefing

RFC 9728 tells clients where an API's tokens come from and leaves most of the trust decision to them

RFC 9728, a Standards Track RFC from Michael B. Jones, Phil Hunt and Aaron Parecki, gives an OAuth-protected API a metadata document that a client can find from a 401 response. The document can name the API's authorization servers, and the client must check that it belongs to the URL it called. Beyond an optional cross-check between the resource's list of servers and a server's list of resources, the authors leave the choice of which server to trust to the client.

Article · RFC Editor · Michael B. Jones, Phil Hunt, Aaron Parecki · Apr 2025 · source

Read it in context

Evidence

The passage this finding cites, on the briefing page.

  1. [4]Security considerations (§6–7)

How to cite

Boston Identity. "RFC 9728 tells clients where an API's tokens come from and leaves most of the trust decision to them," BI-FIND-2025-0391. IAM Insights, October 20, 2026. https://insights.bostonidentity.com/ref/BI-FIND-2025-0391

© 2026 Boston Identity LLC. All rights reserved. Quote up to 100 words with the credit Boston Identity, IAM Insights and a link. How to cite · Terms

Was this claim useful?