ecosystem icon indicating copy to clipboard operation
ecosystem copied to clipboard

Unauthorized access to rest api with username + password ("admin", "admin" working)

Open maltek709 opened this issue 10 years ago • 2 comments

If you try to access "${ECOSYSTEM_URL}/redmine/users.json" as an cesAdmin group user with username and password, it throws and 401 error. Trying to log in with user "admin" and password "admin" works.

maltek709 avatar Jul 20 '16 13:07 maltek709

Redmine's default admin account is still created and active in our instances. This leads to problems like the one mentioned above, when you also try to login as a user called "admin". Redmine seems to verify the password against it's database before using cas, which leads to an denied access, if your cas admin password does not match the default admin's password. Therefore, the default admin account should be deleted.

robertauer avatar Jul 25 '16 08:07 robertauer

This also seems to lead to problems like https://github.com/cloudogu/ecosystem/issues/158

robertauer avatar Jul 25 '16 08:07 robertauer