SqlRole: NT AUTHORITY\SYSTEM can provide sysadmin to itself and other Logins when SYSTEM is only a public sql login. #2055
Labels
external
The issue cannot be resolved within the DSC Resource Kit.
Problem description
Provided that NT AUTHORITY\SYSTEM has a SQL Login on the instance, an invoke-dscresource call running as system can give itself, and any other login any SQL Role. Namely sysadmin.
This is true when:
Additionally, opening SSMS as NT AUTHORITY\SYSTEM to manually test this behaves correctly. The SYSTEM account is unable to see other logins, nor elevate permissions to itself.
Verbose logs
DSC configuration
Suggested solution
Unless intended behavior, possible Bug.
SQL Server edition and version
SQL Server PowerShell modules
Operating system
PowerShell version
SqlServerDsc version
The text was updated successfully, but these errors were encountered: