Bug 723827 (CVE-2011-1772)

Summary: CVE-2011-1772 struts: Multiple XSS flaws in XWork
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chazlett, dbhole, djorm, dwalluck, extras-orphan, jpazdziora, pcheung
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-25 08:24:01 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: 723833    

Description Jan Lieskovsky 2011-07-21 09:31:15 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-1772 to the following vulnerability:

Multiple cross-site scripting (XSS) vulnerabilities in XWork in Apache Struts 2.x before 2.2.3, and OpenSymphony XWork in OpenSymphony WebWork, allow remote attackers to inject arbitrary web script or HTML via vectors involving (1) an action name, (2) the action attribute of an s:submit element, or (3) the method attribute of an s:submit element.

References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1772
[2] http://secureappdev.blogspot.com/2011/05/Struts_2_XWork_WebWork_XSS_in_error_pages.html
[3] http://secureappdev.blogspot.com/2011/05/apache-struts-2-xwork-webwork-reflected.html
[4] http://www.ventuneac.net/security-advisories/MVSA-11-006
[5] http://struts.apache.org/2.2.3/docs/version-notes-223.html
[6] http://struts.apache.org/2.x/docs/s2-006.html
[7] https://issues.apache.org/jira/browse/WW-3579
[8] http://www.securityfocus.com/bid/47784
[9] http://www.vupen.com/english/advisories/2011/1198

Comment 1 Jan Lieskovsky 2011-07-21 09:34:04 UTC
Based on:
[10] https://bugzilla.novell.com/show_bug.cgi?id=693976#c3

it's more than likely this flaw would not affect any of our Struts-1.x package version, shipped across different supported products. But we need to double-check, confirm and note this.

Comment 3 Chess Hazlett 2019-09-17 20:41:57 UTC
Statement:

A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not included in any Red Hat products. This earlier statement was incorrect. While Struts 2 is not actively compiled, shipped, used, or enabled in any Red Hat provided final products, and does not cause any vulnerability in the product, struts2-core jars have been included in some products' source code packages. The inclusion was part of an import of the Google Guice repository, which includes struts2-core. Customers that build artefacts from our source code could be at risk. Red Hat will remove these artefacts from source code in future releases.

The products that included the Struts 2 artefacts in their source jars:
Fuse Service Works 6.0.0
Single Sign On 7.3.0+

If you have used the source package from one of these products to build artefacts on your system, you should do the following to remove potentially affected jars:
1. Run 'find . -name struts2*.jar' under the source location
2. Remove any files found
This will not affect the product, as the jar is included with the source of google-guice, but no functionality requiring struts2 is implemented.