Bug 234386 - Curly braces placed in passwords changed via RHN prevent users from logging in.
Curly braces placed in passwords changed via RHN prevent users from logging in.
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Usability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Sanda
Mark Sechrest
Depends On:
Blocks: 246409
  Show dependency treegraph
Reported: 2007-03-28 16:17 EDT by Alex Wood
Modified: 2007-10-23 22:46 EDT (History)
2 users (show)

See Also:
Fixed In Version: 5.0.3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-02 12:37:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alex Wood 2007-03-28 16:17:24 EDT
Steps to Reproduce:
1.  Find a user with RHN entitlements.
2.  Login as that user via /wapps/sso/rhn/login.html
3.  Go to https://rhn.webqa.redhat.com/rhn/account/UserDetails.do
4.  Change the user's password to something containing a curly brace, e.g.
5.  Log out.
6.  Attempt to log back in.
Actual results:  The password is not accepted.

In UGC, however, changing the password to one with a curly brace actually does work.
Comment 1 Mark Sechrest 2007-04-05 16:38:20 EDT
Let's check to be sure our LDAP interface is properly encoding. Maybe updating
via triggers is taking a different path?
Comment 2 Grant Shipley 2007-04-11 14:39:26 EDT
This is a RHN bug.  RHN seems to be stripping off characters without telling the

change password to
test123 gets sent.

Also, if you change it to
with a confirmation of
it will match.

Comment 3 Grant Shipley 2007-09-07 10:45:43 EDT
SSO error message states:
Password must be ASCII and cannot contain the following special                
   characters (") (<) (>) (space)

Comment 4 John Sanda 2007-09-07 15:45:58 EDT
Checked in revision 117674. Disabled the logic that scrubs the password field.
Added logic to check the password for illegal characters.
Comment 5 John Sanda 2007-09-13 08:09:50 EDT
Test Plan:

Update your password
1. Log into RHN and go to https://rhn.webqa.redhat.com/rhn/account/UserDetails.do.
2. Update your password to include one or more of the characters (delimited by
parens) in Comment 3.
3. Verify that you are sent back UserDetails.do and an error message is
displayed that says the characters from Comment 3 are illegal.
4. Enter a new password without any illegal characters but includes a curly brace.
5. Submit the form, logout and verify that you can log back in.

1.a Update another user's password
1.  Go to https://rhn.webqa.redhat.com/rhn/users/ActiveList.do.
2. Select a user other than yourself.
3. Repeat steps 2 through 5 from above.
Comment 6 Mike Orazi 2007-09-18 08:00:59 EDT

Please verify on your end, but RHN seems to be stopping users from entering
",<,> and the space character

Note You need to log in before you can comment on or make changes to this bug.