Visual RFC.
ALL RFCs / RFC 9700
Read the RFC ↗
RFC 9700 / ATTACKS & DEFENSES

Open redirection

19

A URL on a trusted client or authorization server can bounce the browser to an arbitrary phishing or exfiltration endpoint.

RFC 9700 · § 4.11DEFENSE
3 / 3
03
Continue only through a controlled handoff.

Exact callback matching remains necessary.

Open redirectionA URL on a trusted client or authorization server can bounce the browser to an arbitrary phishing or exfiltration endpoint. Current state: Continue only through a controlled handoff..Open redirectionSeparate allowed requestAuthorization serverBrowserauthenticated userSeparate allowed requesthttps://client.example/cbExact match + trusted URITrusted clientredirectAllowed handoff; earlier target remains blocked

Key idea: Control the destination of every redirect.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Clients MUST NOT expose open redirectors. Allow intended destinations or authenticate request origin and integrity.
  • Authorization servers MUST NOT auto-redirect invalid client_id and redirect_uri combinations.
  • Servers MUST take phishing precautions, authenticate first with the silent-authentication exception, and SHOULD auto-redirect only to trusted URIs.

Even a correctly registered redirect URI can be a phishing destination. Errors, consent denial, or silent authentication can otherwise turn an authorization server into a credible-looking bounce point.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9700

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗