---
id: 8323
title: "SQL Server Local Authorization Bypass"
source_domain: netspi.com
source_url: "https://www.netspi.com/blog/technical-blog/network-pentesting/sql-server-local-authorization-bypass/"
published_at: "2012-08-16T00:00:00Z"
tags: ["privilege-escalation", "windows", "pentest", "sql-server", "psexec"]
phying_url: "https://phying.com/item/8323"
lang: en
---

# SQL Server Local Authorization Bypass

## Summary

Despite SQL Server 2008/2012 removing automatic sysadmin rights for local admins, NT AUTHORITY\SYSTEM keeps them, so attackers can psexec as SYSTEM and use osql for full database control.

## Intelligence Metadata

- **Sources:** netspi.com
- **Published:** 2012-08-16T00:00:00Z
- **Original:** https://www.netspi.com/blog/technical-blog/network-pentesting/sql-server-local-authorization-bypass/
- **Phying News:** https://phying.com/item/8323
