Wherever you take in input from the internet, and output it directly as HTML, you have a CSRF. As you output all your variables without escaping, all your variables are CSRF opportunities. See HTML::Template for escaping. Basically, add add ESCAPE=HTML to all variables in your template.
Also see Is your web application really secure? ("CSRF").
In reply to Re: Need help figure out CSRF vulnerability on this cgi code
by Corion
in thread Need help figure out CSRF vulnerability on this cgi code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |