---
id: 8233
title: "Hacking SQL Server Stored Procedures – Part 1: (un)Trustworthy Databases"
source_domain: netspi.com
source_url: "https://www.netspi.com/blog/technical-blog/network-pentesting/hacking-sql-server-stored-procedures-part-1-untrustworthy-databases/"
published_at: "2014-11-10T00:00:00Z"
tags: ["privilege-escalation", "sql-injection", "powershell", "metasploit", "sql-server", "trustworthy-database"]
phying_url: "https://phying.com/item/8233"
lang: en
---

# Hacking SQL Server Stored Procedures – Part 1: (un)Trustworthy Databases

## Summary

When databases are marked TRUSTWORTHY but ownership stays privileged, web app database users can escalate to sysadmin; the walkthrough includes PowerShell, Metasploit, and SQL injection automation.

## Intelligence Metadata

- **Sources:** netspi.com
- **Published:** 2014-11-10T00:00:00Z
- **Original:** https://www.netspi.com/blog/technical-blog/network-pentesting/hacking-sql-server-stored-procedures-part-1-untrustworthy-databases/
- **Phying News:** https://phying.com/item/8233
