I wouldn't exactly call this a tutorial, more of a training device. It requires appache (win32 is fine), TomCat and the Jave SDK 5.0 or better
http://www.owasp.org/development/webgoatAbout WebGoat
Web application security is difficult to learn and practice. Very few people have full blown web applications like online book stores or online banks that can be used to search for vulnerabilities. In addition, security professionals frequently need to test tools against a known vulnerable platform to ensure they perform as advertised.
All of this needs to happen in a safe and legal environment; we believe you should never attempt to find vulnerabilities without permission, even if your intentions are good.
WebGoat is based on the concept of teaching a user a real world lesson and then asking the user to demonstrate their understanding by exploiting a real vulnerability on the local system. The system is even clever enough to provide hints and show the user cookies, parameters and the underlying Java code if they choose. Examples of lessons include SQL injection to a fake credit card database, where the user creates the attack and steals the credit card numbers.
Current lessons include;
Cross Site Scripting
SQL Injection
Thread Safety
Hidden Form Field Manipulation
Parameter Manipulation
Weak Session Cookies
Fail Open Authentication
Dangers of HTML Comments