4.3.12 Ensure 'clientSecretEncoding' is set to a strong encoding type in OAuth 2.0

Information

The OAuth client secret is encoded using the 'clientSecretEncoding' attribute.

Encoding the OAuth client secret at highest level available reduces the possibility of it being decoded by an unauthorized party.

Solution

Add the clientSecretEncoding attribute to the oauthProvider element to ${server.config.dir}/configDropins/overrides/*.xml is set to a valid encoding type, for example PBKDF2WithHmacSHA512 to enable stored access token encoding.

<oauthProvider clientSecretEncoding="PBKDF2WithHmacSHA512" />

See Also

https://workbench.cisecurity.org/benchmarks/7724

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-12

Plugin: Unix

Control ID: 8fe7362986ef5fde67bca0f61f7d7d41e720bbd212b8051d0b4c534c3c126ab8