Bug 1312064 - [GSS](6.4.z) HTTP Server used for management doesn't support non-ascii characters in BASIC authentication
Summary: [GSS](6.4.z) HTTP Server used for management doesn't support non-ascii charac...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.4.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.10
Assignee: Bartek Spyrko-Smietanko
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks: 1270708 1312069 eap6410-payload
TreeView+ depends on / blocked
 
Reported: 2016-02-25 16:22 UTC by Bartek Spyrko-Smietanko
Modified: 2019-11-14 07:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 12:59:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bartek Spyrko-Smietanko 2016-02-25 16:22:05 UTC
Description of problem:
When using a password like 'test123!ü' different browsers generate the BASIC credentials string using different encodings resulting in failed authentication.
This causes issues when using management console with LDAP.

Same issue in Undertow: https://issues.jboss.org/browse/UNDERTOW-595 fixed in https://github.com/spyrkob/undertow/commit/98fe959a4f4cde414c36b268734e22421f170460

Note this issue is to track fixes in httpserver component. The changes to EAP code will be tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1270708

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


How reproducible:


Steps to Reproduce:
1. Set up LDAP authentication with user admin identified by 'test123!ü'
2. In Firefox go to http://localhost:9990 and try to authenticate
3.

Actual results:
Authentication refused

Expected results:
Authentication successful

Additional info:

Comment 1 Bartek Spyrko-Smietanko 2016-02-25 16:29:11 UTC
Wrong link - undertow fix: https://github.com/undertow-io/undertow/commit/98fe959a4f4cde414c36b268734e22421f170460

Comment 2 Bartek Spyrko-Smietanko 2016-02-25 16:29:28 UTC
PR: https://github.com/jbossas/httpserver/pull/5

Comment 4 Mike McCune 2016-03-28 22:21:53 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Ivo Hradek 2016-08-29 09:02:37 UTC
Verified with EAP 6.4.10.CP.CR2;

--
Note: For browsers that use ISO-8859-1, like Firefox [1], the fix won't work for characters outside of ISO-8859-1 (chinese, japanase, russian etc.).

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=41489

Comment 6 Petr Penicka 2017-01-17 12:59:44 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


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