This Metasploit module can be used to escalate privileges to sysadmin if the user has the db_owner role in a trustworthy database owned by a sysadmin user. Once the user has the sysadmin role the msssql_payload module can be used to obtain a shell on the system.
7cb171d1ea6bdf3acce24011b2327cab3a75e568e88dede8500fe9cece6caf9e