Reflected XSS

In this guide we will focus on the Reflected XSS.
You are going to use the following machines:

  • Kali

  • Metasploitable

As part of the Linux vulnerable machine, Metasploitable VM has a webserver - DVWA - Damn Vulnerable Web App. It is a PHP/MySQL web application.

To discover it, you will need to try to inject some java script to the fields on the website.

In this Reflected XSS you need to send the URL to the target:

open up the browser in your Kali and navigate to the Metasploitable IP address and click on DVWA.

Login:

Username: adminPassword: password

  • DVWA >> DVWA Security >> set the security level to low

  • XSS reflected >> write your name or what ever you like and click “Submit”

You can see that the website reply with “Hello Name”