Bug 1120344

Summary: add_user.sh script fails due to hidden password restriction
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: anestico
Component: SecurityAssignee: Darran Lofthouse <darran.lofthouse>
Status: CLOSED EOL QA Contact: Pavel Slavicek <pslavice>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: darran.lofthouse, tkirby
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:45:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description anestico 2014-07-16 18:56:25 UTC
Description of problem:

When adding a user, certain passwords that pass all written restrictions will fail with the error:

 * Error * 
JBAS015264: Password is not strong enough, it is 'MODERATE'. It should be at least 'MEDIUM'.

Version-Release number of selected component (if applicable):

Reported on EAP 6.3.0-ER10, but has existed before this release.

How reproducible:

Always, with certain passwords. Reproducible with zip.

Steps to Reproduce:
1. Run add_user.sh
2. Progress to password entering segment
3. Attempt to enter one of the following passwords:

This is not an exhaustive list. Some permutations of the above will be considered VERY_WEAK, WEAK, or are accepted, seemingly at random (though the same password will never have a different result).

Actual results:

Password is not accepted and the above error is shown. The user is asked to verify username again and may proceed if he supplies a stronger password the next time.

Expected results:

Either the password is accepted, or a more descriptive method of explaining why the password is not accepted is given to the user.

Additional info:

A better label than MODERATE should be used for passwords that fail the security check.

Comment 1 Darran Lofthouse 2014-10-16 13:54:51 UTC
Insufficient time for 6.4.