Bug 1305681 (CVE-2016-2103)

Summary: CVE-2016-2103 Satellite 5: multiple stored XSS vulnerabilities
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anemec, bkearney, ggainey, kseifried, kshravag, meissner, security-response-team, taw, thomas, tkasparek, tlestach
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Multiple cross-site scripting (XSS) flaws were found in the way certain form data was handled in Red Hat Satellite. A user able to enter form data could use these flaws to perform XSS attacks against other Satellite users.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-04 17:02:45 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: 1313517    
Bug Blocks: 1305684    

Description Kurt Seifried 2016-02-08 21:39:06 UTC
Multiple XSS vulnerabilities have been reported in Satellite 5:

/rhn/systems/PhysicalList.do  list_1680466951_oldfilterval (Parameter)
/rhn/systems/VirtualSystemsList.do  VirtualSystemsList.do (Page)

Comment 2 Grant Gainey 2016-02-15 21:09:25 UTC
/rhn/systems/PhysicalList.do?list_1680466951_oldfilterval=false">Test<script>alert(1)</script>

List-tag parameters and pagination - I believe we can fix these all at once with code in ListDisplayTag

Kurt - Do we have a specific reproducer for VirtualSystemList? SO far I haven't been able to force a problem.

Comment 3 Grant Gainey 2016-02-16 22:00:42 UTC
Teaching ListTagHelper.getFilterValue() to htmlEscape results fixes the problem for all places where we use ListTag.

Comment 4 Kurt Seifried 2016-02-21 03:37:17 UTC
(In reply to Grant Gainey from comment #2)
> /rhn/systems/PhysicalList.
> do?list_1680466951_oldfilterval=false">Test<script>alert(1)</script>
> 
> List-tag parameters and pagination - I believe we can fix these all at once
> with code in ListDisplayTag
> 
> Kurt - Do we have a specific reproducer for VirtualSystemList? SO far I
> haven't been able to force a problem.

I don't have anything more than what I put in this bug unfortunately. I've requested more information.

Comment 7 errata-xmlrpc 2016-04-04 15:36:51 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 5.7

Via RHSA-2016:0590 https://rhn.redhat.com/errata/RHSA-2016-0590.html