We just had penetration testing performed in an application that we created using ASP.NET MVC, and one of the recommendations that came back was that the AntiForgeryToken value in the form can be resubmitted and does not expire after one use.
According to the OWASP recommendation around the synchronizer marker template:
"In general, developers only need to generate this token once for the current session."
This is how I think ASP.NET MVC AntiForgeryToken works.
If we need to fight the battle, is it possible to get AntiForgeryToken to restore a new value after each check?
source
share