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

[security] Account registration does not check for existing accounts #123

Open
RalfJung opened this issue Feb 12, 2016 · 4 comments
Open

Comments

@RalfJung
Copy link
Collaborator

When creating a new account, if I pick an already existing account name, the system accepts this just fine. Dudel then seems to mix up both accounts, e.g. the original account's email address shows up in the profile.

This is on the hotfix branch. I know Dudel is being re-written, but I hope this is critical enough to warrant a fix. For now, I will try to disable account creation.

@RalfJung
Copy link
Collaborator Author

This is even more trouble some considering that "being an admin" is decided by

    def is_admin(self):
        return "ADMINS" in app.config and self.username in app.config["ADMINS"]

@opatut
Copy link
Owner

opatut commented Feb 16, 2016

Ouch 😉

This is on the hotfix branch

What do you mean with that? Do you have a hotfix, if so, please submit a PR :)

@RalfJung
Copy link
Collaborator Author

I meant: There is a branch called hotfix in your repo. This is the branch I am using.

@Akasch
Copy link
Collaborator

Akasch commented Feb 29, 2016

The Problem is the form.populate_obj(user) in views.py line 122, as the documentation stats it is a destructive operation the Group creation have the same Problem.

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

No branches or pull requests

3 participants