Bug 1391520 (CVE-2016-8634)

Summary: CVE-2016-8634 foreman: Stored XSS in org/loc wizard
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bkearney, cbillett, ceph-eng-bugs, jmatthew, mmccune, ohadlevy, satellite6-bugs, sisharma, sjagtap, tlestach, tsanders
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-11 14:03:34 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: 1399316    
Bug Blocks: 1391526, 1432306    

Description Andrej Nemec 2016-11-03 13:26:02 UTC
A vulnerability was found in foreman. When creating an organization or location in Foreman, if the name
contains HTML then the second step of the wizard (/organizations/id/step2) will render the HTML. This occurs in the alertbox on the page.

This may permit a stored XSS attack if an organization/location with HTML in the name is created, then a user is linked directly to this URL.

Upstream bug:

http://projects.theforeman.org/issues/17195

Comment 1 Andrej Nemec 2016-11-03 13:26:17 UTC
Acknowledgments:

Name: Sanket Jagtap (Red Hat)