-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Blacklist System as Username #9060
Conversation
adapted tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A reasonable precaution. Thanks!
Looks good. Thanks @DSchalla |
@DSchalla @crspeller should this be showing a friendly error when testing on master (bladekick, built today Jul 10)? In place of the expected error messaging, I see printed below the Create button: When I use another blacklisted username Should this be filed as a ticket? |
@lindalumitchell Looks like we are doing some client side magic to show that message. The error the server is sending back is correct. We can make a ticket for that. |
@crspeller Sure, done: mattermost/mattermost-webapp#1437 |
Excellent, thanks! Verified on master after mattermost/mattermost-webapp#1437 was merged that the friendly error message appears. |
Summary
This PR blacklists System as a username. The justification is that system notifications, e.g. user join messages are sent with that nickname, allowing an attacker to act as a system user for social engineering, an example would be:
Implementation was discussed with @crspeller, there is no ticket or issue right now for it.
Checklist