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

Reset secret of web app that could have been exposed by Doorkeeper #13688

Merged
merged 1 commit into from
May 10, 2020

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented May 10, 2020

There are no obvious ways it could be misused, as the secret is not
really used for anything, but it is best to secure it for the future

Follow-up to #13613

@ClearlyClaire
Copy link
Contributor

What about other apps?

@Gargron
Copy link
Member Author

Gargron commented May 10, 2020

What about other apps?

Well, we couldn't possibly do anything about them on source code level, like if you forcefully reset a secret and the app developer doesn't know about it then the app is as good as useless. App devs have to handle this themselves.

It must also be noted that because of the federated nature of Mastodon most user-facing apps are dynamically created by the user's app on their own device, which is also the only person such a secret would be exposed to by the Doorkeeper vulnerability. So there is no risk and no need for rotation there.

The only apps that would be endangered by this are server-side apps like Mastodon/Twitter cross-posters that manage many users at once.

There are no obvious ways it could be misused, as the secret is not
really used for anything, but it is best to secure it for the future

Follow-up to #13613
@Gargron Gargron force-pushed the fix-reset-superapp-secret branch from c722721 to 3a50676 Compare May 10, 2020 15:49
@Gargron Gargron merged commit 4b2d9b8 into master May 10, 2020
@Gargron Gargron deleted the fix-reset-superapp-secret branch May 10, 2020 16:18
shouo1987 pushed a commit to CrossGate-Pawoo/mastodon that referenced this pull request May 19, 2020
…astodon#13688)

There are no obvious ways it could be misused, as the secret is not
really used for anything, but it is best to secure it for the future

Follow-up to mastodon#13613
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.

None yet

2 participants