OWASP in partnership with Mandiant provides the OWASP Broken Web Applications project virtual machine. This VM includes very vulnerable web applications as a VMware VM, including WebGoat, OWASP's web application vulnerability learning environment.
Download the Webgoat VMware VM https://sourceforge.net/projects/owaspbwa/files/1.2

- Once the VM starts, log in as root with the password owaspbwa and run ifconfig to determine your system's IP address.

4. Its not working in Chrome because of certificate mismatch. Hence I run it in mozilla firefox. I also configured the minimum certificate requirements for mozilla firefox to accept webgoat insecure connection.
5. Initiate buffer overflow attack
- Key in First, Last Name and Room Number

- By inspecting hidden values, we check that there is first name, last name and room number hidden
- Show the hidden values by inspecting html and change the type from HIDDEN to LABEL


- In the room name, put in 4097 characters. This will initiate a buffer overflow attack. Languages like C and C++ are prone to buffer overflows because they do not perform automatic bounds checking.

- I am now able to access the OWASP Hotel. If you Inspect the website's HTML code and search for hidden values, you will see hidden VIP guests of the hotel

Change the html type value of the names and you will see it in the website

No Comments