Red Hat Bugzilla – Bug 572303
Attempting to create a user following an expired admin session exposes username/passwd pair of new user in URL.
Last modified: 2013-09-03 12:55:19 EDT
Description of problem:
If an admin user is creating a new user in RHQ, and for whatever reason has a session invalidated, upon logging back in, the username and passwd of the new user is exposed over the http URL.
Version-Release number of selected component (if applicable):
Difficult to reproduce the session invalidation, but if that is done, this can be easily replicated. It can probably be reproduced by waiting for session timeout while on the user creation page, or perhaps via the method below.
Steps to Reproduce:
1. Login as rhqadmin on two separate web sessions
2. On the first session, begin creating a new user ("testuser"); populate all fields, but do not yet submit.
3. On the second session, logout of RHQ. This /may/ cause the first session to invalidate. If it doesn't, you'll have to find another method to invalidate the session (delete cookies, wait for session timeout, etc).
4. On the first session, hit the submit button to create new user.
5. Noting that you have been logged out, log back in.
6. Observe the resulting page and URL to which you have navigated
Upon logging back in, user is directed to a page akin to:
In other words, the user/password pair is exposed in URL, easily visible to any onlooker and/or anyone sniffing the connection.
Shouldn't pass sensitive data in URLs.
Sniffing isn't an issue since the password has to be submitted somehow, and we support https to avoid plaintext.
But still a security issue because of the display in the url bar.
Talked to email@example.com and he agreed this is a low priority and something we should be able to address during the update to gwt.
This should no longer be an issue in coregui.
passwords are visually obfuscated, not passed in URLs. used firebug to try and see the password, but could not
Bulk closing of old issues that are in VERIFIED state.