You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Walter B. Rasmann (JIRA)" <ji...@apache.org> on 2013/08/23 19:18:52 UTC

[jira] [Created] (WICKET-5327) CryptoMapper: insecure default encryption provider

Walter B. Rasmann created WICKET-5327:
-----------------------------------------

             Summary: CryptoMapper: insecure default encryption provider
                 Key: WICKET-5327
                 URL: https://issues.apache.org/jira/browse/WICKET-5327
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 6.10.0
            Reporter: Walter B. Rasmann


There is an unexpected and insecure default setting for the encryption provider.

When CryptoMapper is enabled using

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));

or
                
CompoundRequestMapper root = new CompoundRequestMapper();
root.add(new CryptoMapper(getRootRequestMapper(), this));
setRootRequestMapper(root);

Wicket uses "new CachingSunJceCryptFactory(ISecuritySettings.DEFAULT_ENCRYPTION_KEY)" as the CryptFactory, with ISecuritySettings.DEFAULT_ENCRYPTION_KEY being "WiCkEt-FRAMEwork". This generates always the same encrypted strings for each of the URLs, which is an insecure default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira