Bug 572303

Summary: Attempting to create a user following an expired admin session exposes username/passwd pair of new user in URL.
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core ServerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: low    
Version: 1.3.1CC: ccrouch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 12:55:19 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 585306    

Description Corey Welton 2010-03-10 14:40:11 EST
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):

How reproducible:
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
Actual results:
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.

Expected results:
Shouldn't pass sensitive data in URLs.

Additional info:
Comment 1 Jeff Weiss 2010-03-10 15:00:33 EST
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.
Comment 2 Charles Crouch 2010-06-02 08:41:11 EDT
Talked to mschoene@redhat.com and he agreed this is a low priority and something we should be able to address during the update to gwt.
Comment 3 Ian Springer 2011-02-11 17:34:59 EST
This should no longer be an issue in coregui.
Comment 4 Mike Foley 2011-06-13 11:49:03 EDT
passwords are visually obfuscated, not passed in URLs.  used firebug to try and see the password, but could not
Comment 5 Heiko W. Rupp 2013-09-03 12:55:19 EDT
Bulk closing of old issues that are in VERIFIED state.