View Issue Details

IDProjectCategoryView StatusLast Update
000224810000-007: Profilespublic2013-01-10 17:26
ReporterNathan PocockAssigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0002248: UA Part 4: 7.35.3 UserNameIdentityToken - Password Encryption
Description

CMPWG Nov-1:

There are 2 descriptions for the password:

"If the token is encrypted the password shall be converted to a UTF8 ByteString and then serialized as shown in Table 169."

...and:

"If the SecurityPolicy is None then the password only contains the UTF-8 encoded password."

The first sentence contains a policy in Part 7, but a corresponding Policy is not defined for the second sentence. With this new policy UA products will be able to legally utilize sentence 2.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0002315 closedPaul Hunkar 10000-004: Services UA Part 4: 7.35.3 UserNameIdentityToken - Password Encryption 

Activities

Paul Hunkar

2013-01-07 07:58

developer   ~0004397

Note sure what needs to be done - there is one ConformanceUnit for Username Password Security Policy and it describes that the password is to be encrypted by the algorithm provided by UserNameIdenty Token if the message is not encrypted.

This is the complete text in Part 4:

This token shall be encrypted if required by the SecurityPolicy.
The Server should specify a SecurityPolicy for the UserTokenPolicy if the SecureChannel has a SecurityPolicy of None.
If the token is encrypted the password shall be converted to a UTF8 ByteString and then serialized as shown in Table 169.
The Server shall decrypt the password and verify the ServerNonce.
If the SecurityPolicy is None then the password only contains the UTF-8 encoded password.

To me this is inconsistent since it says to provide a securitypolicy for the usertoken if the securitypolicy is none then later it say if security policy is none to not encrypt it.

I think this text needs to be fixed first to be very clear.

In my opinion, username/password and unencrypted password - should not be allowed (note encryption can be over VPN or something else).

So part 4 text should include something like:

This token shall be encrypted if required by the SecurityPolicy.
The Server should specify a SecurityPolicy for the UserTokenPolicy if the SecureChannel has a SecurityPolicy of None. If None is specified for the UserTokenPolicy and Security Policy is None then the password only contains the UTF-8 encoded password. This configuration should not be used unless the network is encrypted in some other manner such as a VPN. The use of this configuration without network encryption would result in a serious security fault, in that it would cause the appearance of a secure user access, but in actuality it would be completely insecure.

If the token is encrypted the password shall be converted to a UTF8 ByteString and then serialized as shown in Table 169.
The Server shall decrypt the password and verify the ServerNonce.

The conformance unit in any case does not need to be changed since it say to encrypt the password with the algorthim provided - the algorithm can be NONE- thus no encryption.

Nathan Pocock

2013-01-07 15:58

viewer   ~0004400

I think that another (I think we have mentioned on a CMP call previously) is in the case of embedded devices where they simply don't have the capacity to do encryption. I understand your viewpoint, but I really think that we need the flexibility to allow the vendors to use clear-text passwords so that there's more choice. I think that there's a general understanding that clear-text passwords are allowed when there's no security so it might be difficult to reverse that now?

I do agree that part 4 definitely needs some clarifications about clear-text passwords.

Paul Hunkar

2013-01-09 17:04

developer   ~0004407

DEtermined in UA meeting that Part 4 need clarification , but no work is required for this conformance unit

Jim Luth

2013-01-10 17:26

administrator   ~0004411

agreed to in UA F2F.

Issue History

Date Modified Username Field Change
2012-11-01 18:29 Nathan Pocock New Issue
2012-11-20 18:13 Paul Hunkar Status new => assigned
2012-11-20 18:13 Paul Hunkar Assigned To => Paul Hunkar
2013-01-07 07:58 Paul Hunkar Note Added: 0004397
2013-01-07 15:58 Nathan Pocock Note Added: 0004400
2013-01-09 17:00 Paul Hunkar Issue cloned: 0002315
2013-01-09 17:00 Paul Hunkar Relationship added related to 0002315
2013-01-09 17:04 Paul Hunkar Status assigned => resolved
2013-01-09 17:04 Paul Hunkar Resolution open => no change required
2013-01-09 17:04 Paul Hunkar Note Added: 0004407
2013-01-10 17:26 Jim Luth Status resolved => closed
2013-01-10 17:26 Jim Luth Note Added: 0004411