Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more robust redirect url handling #37

Merged
merged 2 commits into from
Feb 19, 2020
Merged

more robust redirect url handling #37

merged 2 commits into from
Feb 19, 2020

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented Aug 1, 2019

accept rd param and X-Auth-Request-Redirect header from
both /sign_in and /start handlers

avoid accidental redirect to either /sign_in or /start handlers

inspired by oauth2-proxy/oauth2-proxy#150


Updated in February 2020 with the related:

check for /\ redirects

tricky open-redirect vulnerability, see
GHSA-qqxw-m5fj-f7gv

@ploxiln ploxiln added the wip work in progress label Aug 1, 2019
@ploxiln ploxiln changed the title more forgiving and robust redirect url capture more robust redirect url handling Feb 2, 2020
@ploxiln ploxiln removed the wip work in progress label Feb 19, 2020
ploxiln and others added 2 commits February 19, 2020 04:13
accept rd param and X-Auth-Request-Redirect header from
both /sign_in and /start handlers

avoid accidental redirect to either .../sign_in or .../start handlers
tricky open-redirect vulnerability, see
GHSA-qqxw-m5fj-f7gv
@ploxiln ploxiln merged commit 0275e8e into master Feb 19, 2020
@ploxiln ploxiln deleted the flex_redirect branch May 23, 2020 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant