4.3.7 Ensure 'signatureAlgorithm' is set to a secure algorithm in OIDC Provider (OP)

Information

The signatureAlgorithm is used by the OP to sign the ID tokens.

The OpenID Connect Server Provider should use a signature algorithm to sign the ID tokens. This protects sensitive information and helps the relying party verify the authenticity of the JWT.

Solution

Add the signatureAlgorithm attribute to the openidConnectProvider element to ${server.config.dir}/configDropins/overrides/*.xml and set it to a valid algorithm, such as RS256 to ensure tokens are signed.

<openidConnectProvider signatureAlgorithm="RS256" />

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-12

Plugin: Unix

Control ID: 6f6871f6befbf579b4d9c37d7c8d0e2ee3114ef61cbc410f41a6fb5c2e3ef246