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

Fix redirect security #721

Merged
merged 3 commits into from
Sep 14, 2020

Conversation

LukasKalbertodt
Copy link
Member

@LukasKalbertodt LukasKalbertodt commented Sep 11, 2020

Fixes #720

CC @luniki

Copy link
Contributor

@lkiesow lkiesow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor things…

CONFIGURATION.md Outdated Show resolved Hide resolved
CONFIGURATION.md Outdated Show resolved Hide resolved
Copy link
Member

@JulianKniephoff JulianKniephoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a minor nitpick about a docstring.

src/settings.js Outdated Show resolved Hide resolved
This is useful for some security related settings. We don't want
attackers to send around Studio links with malicious GET parameters.
This is technically a breaking change, but it's clearly a bug. Before,
it was possible to use something like `loginProvided = "true"` in the
TOML encoded as the `config` GET parameter. That makes no sense.
This setting can only be set from `settings.toml`. That way, we avoid
attackers sending out Studio links with `return.target` set to bad URLs.
@LukasKalbertodt LukasKalbertodt merged commit 73558ad into elan-ev:master Sep 14, 2020
@LukasKalbertodt LukasKalbertodt deleted the fix-redirect-security branch September 14, 2020 09:00
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.

Return link without validations is potentially unsafe
3 participants