module
Microsoft SQL Server SQLi Escalate Db_Owner
| Disclosed | Created |
|---|---|
| N/A | May 30, 2018 |
Disclosed
N/A
Created
May 30, 2018
Description
This module can be used to escalate SQL Server user privileges to sysadmin through a web
SQL Injection. In order to escalate, the database user must to have the db_owner role in
a trustworthy database owned by a sysadmin user. Once the database user has the sysadmin
role, the mssql_payload_sqli module can be used to obtain a shell on the system.
The syntax for injection URLs is: /testing.asp?id=1+and+1=[SQLi];--
SQL Injection. In order to escalate, the database user must to have the db_owner role in
a trustworthy database owned by a sysadmin user. Once the database user has the sysadmin
role, the mssql_payload_sqli module can be used to obtain a shell on the system.
The syntax for injection URLs is: /testing.asp?id=1+and+1=[SQLi];--
Author
nullbind [email protected]
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.