CSRF Minefield

Welcome to CSRF Minefield!

CSRF Minefield is an Ubuntu Server 18.04 based virtual machine, that is heavily ridden with Cross-Site Request Forgery (CSRF) vulnerabilities. This VM hosts 11 real-world web applications that were found vulnerable to CSRF vulnerability and your aim is to find them and detonate them before they explode the target network.

What is CSRF?

Cross-Site Request Forgery (CSRF) is an attack that forces an end user to execute unwanted actions on a web application in which they’re currently authenticated. CSRF attacks specifically target state-changing requests, not theft of data, since the attacker has no way to see the response to the forged request. – OWASP

How to find or test for a CSRF vulnerability?

As a starting point, you can use the following resources by the OWASP Project:

OWASP Testing Guide

OWASP Code Review Guide

List of Web applications included in this version of CSRF Minefield (along with access details):

  1. Bolt CMS 3.6.6
  2. PilusCart 1.4.1
  3. zzzphp CMS 1.6.1
  4. CMSSite 1.0
  5. OOP CMS Blog 1.0
  6. Integria IMS 5.0.83
  7. ZeusCart 4.0
  8. WSTMart 2.0.8
  9. Simple Online Hotel Reservation System
  10. OrientDB 3.0.17 GA Community Edition
  11. Apache CouchDB 2.3.1

How to get started?

  1. Download the VM from here or from Vulnhub and extract the Zip file.
  2. Import / Open OVF with VMWare Player or VMWare Workstation
  3. Run the VM
  4. Access the VM on IP address 192.168.126.162
  5. VM login details:
    • Username: ptlab
    • Password: ptlab
    • To login as root: sudo su //(password same as above)
  6. Start hunting!
  7. There might be a few vulnerabilities of other kind. Let’s see if you can find them as well.

In case you run into any troubles, contact me on @yaksas443 (twitter) or csc[at]yaksas[dot]in

May the force be with you!

SPOILERS AHEAD!!

Credits (vulnerability researchers):

  1. Bolt CMS 3.6.6 – FelipeGaspar
  2. PilusCart 1.4.1 – Gionathan Reale
  3. zzzphp CMS 1.6.1 – Yang Chenglong
  4. CMSSite 1.0 – Mr Winst0n
  5. OOP CMS Blog 1.0 – Mr Winst0n
  6. Integria IMS 5.0.83 – Javier Olmedo
  7. ZeusCart 4.0 – mqt
  8. WSTMart 2.0.8 – linfeng
  9. Simple Online Hotel Reservation System – Mr Winst0n
  10. OrientDB 3.0.17 GA Community Edition – Ozer Goker
  11. Apache CouchDB 2.3.1 – Ozer Goker