kibana2
kibana2 copied to clipboard
Kibana auth branch blanks passwords when setting groups / permitted tags
In the kibana-ruby-auth branch, changing a user's details may unintentionally set their password to an empty string, allowing logins with no password. To replicate:
- Log in as admin
- Visit /auth/admin
- Create a regular user with password
- Verify new user can log in via password
- As admin, change this user's Allowed Tags. Leave "New Pass" field blank before Save Changes, expecting this will keep the current password.
- Can now log in with this username and a blank password.
This is serious and also subtle, since there's no notification that the admin has reset the password to an empty string.
I had a look at this. Try the "fix_password" branch in my Kibana repository. I'll make a pull request if it is fully functional for you.
Just gave it a try, and it fixes the problem listed above. Thanks for the quick response!