Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 6.1.24
-
Fix Version/s: None
-
Component/s: Security and SSL
-
Labels:None
-
Number of attachments :
Description
Class org.mortbay.jetty.security.Credential provides the possibility to verify against a stored MD5 hash as well as providing one from a password given. Plain password hashes are vulnerable to rainbow table attacks when the password file is leaking (which could be the case when using HashUserRealm, which stores the hashes in a plain file). Therefore a salt is added to each password before being hashed to avoid this kind of attack. It would be worthwile to consider adding such a functionality to org.mortbay.jetty.security.Credential and org.mortbay.jetty.security.Credential.MD5.
I am relating to version 6.1.24 I am currently using. I scanned the bug database not finding the issue, therefore I assume that it is present in all versions.
Regards
Richard
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Greg Wilkins [ gregw ] |
| Assignee | Greg Wilkins [ gregw ] | Jesse McConnell [ jesse ] |
Richard,
Does the salt need to be protected? Would it be sufficient to have a setSalt method on the realm and related credential methods?
If the configuration file that contains the salt is compromised at the same time as the stored MD5 hashes, is there any additional protection?
Sorry if this is a dumb question, but I don't want to appear to be adding extra security unless I get it 100% correct.