SQLD-22-003100 - SQL Server must enforce access restrictions associated with changes to the configuration of the database(s).

Information

Failure to provide logical access restrictions associated with changes to configuration may have significant effects on the overall security of the system.

When dealing with access restrictions pertaining to change control, it should be noted that any changes to the hardware, software, and/or firmware components of the information system can potentially have significant effects on the overall security of the system.

Accordingly, only qualified and authorized individuals should be allowed to obtain access to system components for the purposes of initiating changes, including upgrades and modifications.

Solution

Remove unauthorized users from roles:

ALTER ROLE DROP MEMBER user;

https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-role-transact-sql?

Set the owner of the database to an authorized login:

ALTER AUTHORIZATION ON database::DatabaseName TO login;

https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-authorization-transact-sql?

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(1), CAT|II, CCI|CCI-001813, Rule-ID|SV-271195r1109208_rule, STIG-ID|SQLD-22-003100, Vuln-ID|V-271195

Plugin: MS_SQLDB

Control ID: 807498bfb0ff83ca275f69581336da508f7cef7632a0f5634b1e9092ae33bbc1