Bug 178176

Summary: CVE-2006-0254 tomcat examples XSS (RHAPS)
Product: [Retired] Red Hat Application Server Reporter: Mark J. Cox <mjc>
Component: tomcatAssignee: Fernando Nasser <fnasser>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: mwringe, patrickm, rafaels, viveklak
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: reported=20060117,source=cve,public=20060115,impact=moderate
Fixed In Version: RHSA-2006-0592 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-14 10:30:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 430646    

Description Mark J. Cox 2006-01-18 10:47:09 UTC
+++ This bug was initially created as a clone of Bug #178175 +++

A new cross-site scripting flaw has been reported in the tomcat jsp examples as
shipped in tomcat5-webapps in Red Hat Application Server.  See

http://issues.apache.org/jira/browse/GERONIMO-1474

This is fixed in upstream svn.

Marking this as moderate severity as users should not be putting examples into
production environments.  I've held off marking it low as the examples ought to
show good practices and our users may copy the bad behaviour.

Note also these issues
http://issues.apache.org/bugzilla/show_bug.cgi?id=32953

Note: We've not looked which of these issues actually affect the tomcat5-webapps
package.

Comment 1 Josh Bressers 2006-05-11 15:14:35 UTC
Ping.

Any plans to update this package in the near future?

Comment 6 Rafael H. Schloming 2006-06-30 14:54:55 UTC
The package has been updated with a patch that modifies the examples to properly
filter and encode any variables before outputting them as HTML.

Comment 9 Red Hat Bugzilla 2006-07-14 10:30:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0592.html