Skip to content

Add Signature to CORS non-wildcard request-header name #1819

Open
@mnot

Description

@mnot

What is the issue with the Fetch Standard?

RFC 9421 defines the Signature header field. One of its use cases is signing requests, effectively acting as a credential.

Because Fetch automatically follows redirects and copies headers from the original request into the redirect request, this means that a signature will be sent cross-origin, exposing its contents to a third party server.

One use case we have for this is authenticating bots (like web crawlers) to sites. If a site can be configured to redirect to another one, this would allow the third party site to impersonate the bot to the original target site.

Adding Signature to CORS non-wildcard request-header name would mitigate this.

/cc @jricher

Metadata

Metadata

Assignees

No one assigned

    Labels

    security-trackerGroup bringing to attention of security, or tracked by the security Group but not needing response.security/privacyThere are security or privacy implicationstopic: corstopic: http

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions