SQL4-00-024200 - Database Master Key passwords must not be stored in credentials within the database.

Information

Storage of the Database Master Key password in a database credential allows decryption of sensitive data by privileged users who may not have a need-to-know requirement to access the data.

Solution

Use the stored procedure sp_control_dbmasterkey_password to remove any credentials that
store Database Master Key passwords.
From the query prompt:
EXEC SP_CONTROL_DBMASTERKEY_PASSWORD @db_name = '<database name>', @action
= N'drop'

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_SQL_Server_2014_Y24M07_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-28, CAT|II, CCI|CCI-001199, Rule-ID|SV-213780r961128_rule, STIG-ID|SQL4-00-024200, STIG-Legacy|SV-81873, STIG-Legacy|V-67383, Vuln-ID|V-213780

Plugin: MS_SQLDB

Control ID: 87cabba563aa54863e150038b332cd866fab1d02df3daf385643b2b3022afe56