Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Security fix: open redirect vulnerability in case of 'unknown client_id' #64

Open
seb-men wants to merge 1 commit intoIdentityPython:masterIdentityPython/pyop:masterfrom
seb-men:fix-open-redirectseb-men/pyop:fix-open-redirectCopy head branch name to clipboard
Open

Security fix: open redirect vulnerability in case of 'unknown client_id' #64
seb-men wants to merge 1 commit intoIdentityPython:masterIdentityPython/pyop:masterfrom
seb-men:fix-open-redirectseb-men/pyop:fix-open-redirectCopy head branch name to clipboard

Conversation

@seb-men
Copy link

@seb-men seb-men commented Jan 30, 2026

As outlined in IdentityPython/SATOSA#498 , SATOSA returns a redirect to an unvalidated redirect_uri if the client is unknown, which is an "open redirect" vulnerability. The root cause is obviously in pyop, because it raises an InvalidAuthenticationRequest with a non-empty error_url if the client is unknown.

I have added a specific exception UnknownClientId which returns no error_url, just as the InvalidRedirectURI exception does.

…oes not set the error_url to prevent open redirect attacks
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.