Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Form Based Authentication 1.0.20
-
None
Description
The TokenStore in Forms uses SHA-1
final Mac m = Mac.getInstance(HMAC_SHA1);
Cryptographic hash algorithms such as MD2, MD4, MD5, MD6, HAVAL-128, HMAC-MD5, DSA (which uses SHA-1), RIPEMD, RIPEMD-128, RIPEMD-160, HMACRIPEMD160 and SHA-1 are no longer considered secure, because it is possible to have collisions (little computational effort is enough to find two or more different inputs that produce the same hash).
The provisioning of weak security tokens for every request could be considered a security vulnerability. Also in a production environment with many active users, the risk of accidental collision is not impossible.
I don't recommend doing this before SLING-10290, because constant provisioning of the tokens is performance drain, and will be more so with a stronger algorithm.
Attachments
Issue Links
- links to