More Advanced SQL Injection

[article]
Member Submitted
Summary:

This paper addresses the subject of SQL Injection in a Microsoft SQL Server/IIS/Active Server Pages environment, but most of the techniques discussed have equivalents in other database environments.

This paper addresses the subject of SQL Injection in a Microsoft SQL Server/IIS/Active Server Pages environment, but most of the techniques discussed have equivalents in other database environments.

It should be viewed as a followup, or perhaps an appendix, to the previous paper, "Advanced SQL Injection." The paper covers in more detail some of the points described in its predecessor, providing examples to clarify areas where the previous paper was perhaps unclear.

An effective method for privilege escalation is described that makes use of the openrowset function to scan a network. A novel method for extracting information in the absence of "helpful" error messages is described. Finally, a number of miscellaneous observations and useful hints are provided, collated from responses to the original paper, and various conversations around the subject of SQL injection in

About the author

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.