4.3.10 Ensure 'accessTokenEncoding' is set to a strong hash algorithm in OAuth 2.0

Information

The OAuth access token contains sensitive data and should be hashed to protect it.

Encoding the OAuth access token using a hashing algorithm protects sensitive information.

Solution

Add the accessTokenEncoding attribute to the oauthProvider element to ${server.config.dir}/configDropins/overrides/*.xml and set it to a valid encoding type, for example PBKDF2WithHmacSHA512 to enable stored access token encoding. Do not use the plain value as it does not encode.

<oauthProvider accessTokenEncoding="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: 2c17be9c375e8e568ccfcfb01f2cd3b3ab53175626b06960b59fc4f3173a5b40