CWE
79
Advisory Published
Updated

REDHAT-BUG-489028: XSS

First published: Fri Mar 06 2009(Updated: )

Quoting the upstream advisory: The calendar application in the examples contains invalid HTML which renders the XSS protection for the time parameter ineffective. An attacker can therefore perform an XSS attack using the time attribute. Mitigation: 6.0.x users should do one of the following: - remove the examples web application - apply this patch <a href="http://svn.apache.org/viewvc?rev=750924&amp;view=rev">http://svn.apache.org/viewvc?rev=750924&amp;view=rev</a> - upgrade to 6.0.19 when released 5.5.x users should do one of the following: - remove the examples web application - apply this patch <a href="http://svn.apache.org/viewvc?rev=750928&amp;view=rev">http://svn.apache.org/viewvc?rev=750928&amp;view=rev</a> - upgrade to 5.5.28 when released 4.1.x users should do one of the following: - remove the examples web application - apply this patch <a href="http://svn.apache.org/viewvc?rev=750927&amp;view=rev">http://svn.apache.org/viewvc?rev=750927&amp;view=rev</a> - upgrade to 4.1.40 when released Example: <a href="http://localhost:8080/examples/jsp/cal/cal2.jsp?time=8am%20STYLE=xss:e/**/xpression(try{a=firstTime}catch(e){firstTime=1;alert('XSS">http://localhost:8080/examples/jsp/cal/cal2.jsp?time=8am%20STYLE=xss:e/**/xpression(try{a=firstTime}catch(e){firstTime=1;alert('XSS</a>')}); Credit: This issue was discovered by Deniz Cevik. References: <a href="http://tomcat.apache.org/security.html">http://tomcat.apache.org/security.html</a> <a href="http://tomcat.apache.org/security-6.html">http://tomcat.apache.org/security-6.html</a> <a href="http://tomcat.apache.org/security-5.html">http://tomcat.apache.org/security-5.html</a>

Affected SoftwareAffected VersionHow to fix
Tomcat>=6.0.0<=6.0.19>=5.5.0<=5.5.28>=4.1.0<=4.1.40

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203