Skip to content

Resource-Initiated Interaction applies egress admission to a URL the PS never fetches #276

Open

Description

@joshuagay

draft-hardt-oauth-aauth-protocol.md at 70d6737:

  • L997 (Resource-Initiated Interaction): "The interaction.url MUST be an HTTPS URL; the PS MUST validate this before redirecting and MUST apply its egress admission policy to it."
  • L2288 (JWKS Discovery and Caching): "Before fetching any issuer metadata or jwks_uri, verifiers MUST apply egress admission per ([@!I-D.hardt-httpbis-signature-key])."

draft-hardt-httpbis-signature-key.md at 69f5ba2:

  • L1228-L1235 (Scheme-Specific Risks): "Verifiers MUST apply egress admission before fetching issuer metadata, a jwks_uri, or a jwks url:" followed by HTTPS, response-size and timeout limits, redirect policy, private and loopback address rejection, DNS rebinding pinning, and cross-origin admission

Egress admission is defined for fetches the verifier makes itself. At L997 the PS makes no request to interaction.url; it redirects the person's browser there. Size and timeout limits, redirect policy and DNS pinning have nothing to apply to. What remains, rejecting private or loopback hosts, is a different policy: where the PS is willing to send a person. Implementations will apply a fetch policy that does not fit, or skip the step because they open no connection.

Ask: State the rule for the redirect itself, for example: "the PS MUST validate this before redirecting, and MUST NOT redirect the person to a URL whose host is a loopback, private, or link-local address unless its deployment allows it."

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions