Bug 244803 (CVE-2007-1358)

Summary: CVE-2007-1358 tomcat accept-language xss flaw
Product: [Other] Security Response Reporter: Mark J. Cox (Product Security) <mjc>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: devrim, viveklak
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: source=asf,reported=20070410,public=20070606,impact=low,cwe=CWE-79[auto]
Fixed In Version: 5.5.25-1jpp.1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-17 00:34:59 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 414321, 244810, 244811, 244812, 244813, 363081, 414331, 430730, 430731, 440521, 445320, 449337, 470236, 470237    
Bug Blocks: 444136    

Description Mark J. Cox (Product Security) 2007-06-19 05:51:41 EDT
"Web pages that display the Accept-Language header value sent by the
client are susceptible to a cross-site scripting attack if they assume
the Accept-Language header value conforms to RFC 2616. Under normal
circumstances this would not be possible to exploit, however older
versions of Flash player were known to allow carefully crafted
malicious Flash files to make requests with such custom headers.
Tomcat now ignores invalid values for Accept-Language headers that do
not conform to RFC 2616."

Therefore impact=low

"This flaw is actually an issue in the container getLocale() method and not 
in Struts itself.  Tomcat has already been patched to ignore invalid 
values in the header, which blocks this flaw.  The fix is included in 
version 6.0.6 and later.  The flaw will also be included in 5.5.21 and 
4.1.35 once released (see references below for the commits)

Comment 6 Devrim GUNDUZ 2007-11-15 19:50:51 EST
Already applied patches:

Patches that can be applied:

1st chunk is already in the code, the other parts can be applied.
Comment 7 Fedora Update System 2007-11-17 00:34:49 EST
tomcat5-5.5.25-1jpp.1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2007-11-17 00:37:48 EST
tomcat5-5.5.25-1jpp.1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 errata-xmlrpc 2010-08-04 17:33:03 EDT
This issue has been addressed in following products:

  Red Hat Certificate System 7.3

Via RHSA-2010:0602 https://rhn.redhat.com/errata/RHSA-2010-0602.html