Information
If SQL Server were to allow any user to make changes to database structure or logic, those changes might be implemented without undergoing the appropriate testing and approvals that are part of a robust change management process.
Accordingly, only qualified and authorized individuals must be allowed to obtain access to information system components for purposes of initiating changes, including upgrades and modifications.
Unmanaged changes that occur to the database software libraries or configuration can lead to unauthorized or compromised installations.
DBMS functionality and the nature and requirements of databases will vary; so, while users are not permitted to install unapproved software, there may be instances where the organization allows the user to install approved software packages such as from an approved software repository. The requirements for production servers will be more restrictive than those used for development and research.
The DBMS must enforce software installation by users based on what types of software installations are permitted (e.g., updates and security patches to existing software) and what types of installations are prohibited (e.g., software whose pedigree regarding being potentially malicious is unknown or suspect) by the organization.
In the case of a database management system, this requirement covers stored procedures, functions, triggers, views, etc.
Satisfies: SRG-APP-000133-DB-000362, SRG-APP-000133-DB-000179, SRG-APP-000378-DB-000365
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Document and obtain approval for any nonadministrative users who require the ability to create, alter, or replace logic modules.
Revoke the ALTER permission from unauthorized users and roles:
REVOKE ALTER ON [<Object Name>] FROM [<Principal Name>]