OWASP Exercises: SQL Injection

Developed with
QA

Lab Steps

lock
Load the Virtual Machines (Kali & Metasploitable)
lock
Check connectivity
lock
Access the DVWA website
lock
Set DVWA security to "Low"
lock
Check the website for SQL injection vulnerabilities
lock
Conduct the SQL Injection attack

The hands-on lab is part of this learning path

Introduction to Ethical Hacking Tools
course-steps
10
certification
3
lab-steps
15
description
9

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h
Students92
Ratings
5/5
starstarstarstarstar

Description

SQL is a declarative language which is implemented by every relational database management system (better known as RDBMS). Because of its popularity, lots of hackers constantly try to perform SQL injections to retrieve data they shouldn't be allowed to get.

In this lab, you will attempt a SQL injection attack using just the web browser, in order to trick the back-end MySQL database server to execute queries injected by you and thus gain access to data that you would not be allowed to access otherwise. You will perform the SQL injection attack using only a browser that runs the DVWA (Damn Vulnerable Web App): a web application written to be vulnerable and designed for security professionals to practice their skills and conduct research.

Learning Objectives

Upon completion of this lab you will be able to:

  • Manage the security level of a DVWA application to set it up to your requirements
  • Perform a SQL injection to a DVWA application

Intended Audience

This lab is intended for:

  • Individuals who want to learn how to perform a SQL injection attack
  • Security engineers who want to understand how to better protect their applications to avoid SQL injections
  • People who want to know how a SQL injection can be performed

Prerequisites

This lab has no prerequisites.

 

Updates

July 9th, 2020 - Enabled direct browser RDP connection for a streamlined experience

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students866
Labs6
Courses1
Learning paths2

Richard Beck is Director of Cyber Security at QA. He works with customers to build effective and successful security training solutions tailored for business needs. Richard has over 15 years' experience in senior Information Security roles. Prior to QA, Richard was Head of Information Security for an organisation who underpin 20% of the UK's Critical National Infrastructure. Richard also held Security and Technical Management posts in the Defence, Financial Services and HMG. Richard sits on a number of security advisory panels and previously chaired the Communication Industry Personnel Security Information Exchange (CPNI). Richard is also a STEM Ambassador working to engage and enthuse young people in the area of cyber security. Providing a unique perspective on the world of cyber security to teachers and encourage young people to consider a career in cyber security.