I have heard Xampp is not safe and has a lot of security loopholes. What steps need to be taken to close the loopholes? Is it better if I use a VM instead? I new to Security Testing and want to learn using DVWA. Kindly provide some feedback...
1 Answer
Is it safe to install Xampp to learn Security and Penetration testing using DVWA?
You can make it safe(r) by:
Configure Apache and MySQL to listen only on 127.0.0.1.
Apache
Edit the file C:\xampp\apache\conf\httpd.conf and change Listen 80 to Listen 127.0.0.1:80
MySQL
Edit the file C:\xampp\mysql\bin\my.ini and make sure that the bind-address is set to 127.0.0.1
Configure the firewall to block TCP port 80
Use the Windows firewall to block incoming requests to TCP port 80.
-
What if used another port for xampp instead of port 80??? Will that help useful?? Jun 5, 2018 at 8:53
-
-
2Binding only to localhost would still leave it vulnerable to cross-site requests (CSRF). An attacker can perform a request to the vulnerable applications running on localhost from his website.– SjoerdJun 5, 2018 at 9:13
-
1@Sjoerd While this is very true, what do you consider the likelihood of this happening?– JeroenJun 5, 2018 at 9:24