6.6 Ensure Binary and Relay Logs are Encrypted

Information

The encrypt_binlog system variable may be used to configure encryption of the binary and relay logs. This may be configured to ON even if binary logging is not enabled in order to encrypt relay log files.

Rationale:

The database, and thus the binary and relay logs, may contain sensitive information. Encrypting the binary and relay logs protects all data stored in these logs from internal and external threats.

Solution

Encryption of binary logs is configured by the encrypt_binlog system variable.
To remediate misconfiguration, add encrypt_binlog and restart MariaDB.

[mariadb]
...
# Binary Log Encryption
encrypt_binlog=ON

Default Value:

The default Default Value: OFF

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|IA-5(1), 800-53|SC-28, 800-53|SC-28(1), CSCv7|14.8

Plugin: MySQLDB

Control ID: 61ec72c55baf7ede73de8fba9fec4c3fef444f3a1b69aecb84f5d5b1c08f0ab5