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

Possible session token sharing when deploying Plausible? #7

Open
LuchoTurtle opened this issue Aug 14, 2024 · 0 comments
Open

Possible session token sharing when deploying Plausible? #7

LuchoTurtle opened this issue Aug 14, 2024 · 0 comments
Labels
feedback Feedback from people using the App or any other repo question A question needs to be answered before progress can be made on this issue

Comments

@LuchoTurtle
Copy link
Member

LuchoTurtle commented Aug 14, 2024

Context

We've deployed Plausible CE in https://analytics.dwyl.com.
The first account that registers becomes the admin and no other accounts are allowed to register unless invited by the admin.
While @nelsonic was creating/registering his account, I had the normal Register page open on my Chrome browser.

What happened

After they created the account, I was expecting Plausible to show me this page (it's what happens now when I access it on an anonymous window).

image

However, when I refreshed the page, it seemed that I had access to the admin account, without ever having to login O.o. This happened without me having to input any credentials (in fact, I did not know the e-mail or password). I simply refreshed the page and I was in the admin account!

image

This is uncanny.

Is there a session token leak with whoever has logged in before/has access to account registration when the very first account is registered in a self-hosted Plausible instance?

I'm just creating this issue for visibility.

@LuchoTurtle LuchoTurtle added question A question needs to be answered before progress can be made on this issue feedback Feedback from people using the App or any other repo labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback Feedback from people using the App or any other repo question A question needs to be answered before progress can be made on this issue
Projects
None yet
Development

No branches or pull requests

1 participant