I have just written a tutorial for writing an exploit for the first and simplest exploitable vulnerability in Vulnserver.
As with previous Vulnserver related articles, you can read it at the InfoSec Institute site.
Update - the original links are now offline so Ive updated with Internat Archive copies of the originals:
Part 1
Part 2
Part 3
Enjoy!
11 Mar 2011