Bug 1393291 (CVE-2016-8639) - CVE-2016-8639 foreman: Stored XSS via organization/location with HTML in name
Summary: CVE-2016-8639 foreman: Stored XSS via organization/location with HTML in name
Status: NEW
Alias: CVE-2016-8639
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20160512,repor...
Keywords: Security
Depends On: 1399317 1399319
Blocks: 1391526 1432306
TreeView+ depends on / blocked
 
Reported: 2016-11-09 09:47 UTC by Andrej Nemec
Modified: 2018-02-21 12:25 UTC (History)
11 users (show)

Fixed In Version: foreman 1.13.0
Doc Type: If docs needed, set a value
Doc Text:
It was found that foreman is vulnerable to a stored XSS via an organization or location name. This could allow an attacker with privileges to set the organization or location name to display arbitrary HTML including scripting code within the web interface.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0336 normal SHIPPED_LIVE Important: Satellite 6.3 security, bug fix, and enhancement update 2018-02-21 22:43:42 UTC

Description Andrej Nemec 2016-11-09 09:47:10 UTC
Sanket Jagtap of Red Hat reports: 

If an organization or location is created with a name containing HTML,
then the administrator-only Settings page will render the HTML as part
of a dropdown menu.

This may permit a stored XSS attack if an organization/location with
HTML in the name is created, then an administrator attempts to change
the default organization/location settings.

Upstream bug:

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

Upstream patch:

https://github.com/theforeman/foreman/pull/3523

Comment 1 Andrej Nemec 2016-11-09 09:47:25 UTC
Acknowledgments:

Name: Sanket Jagtap (Red Hat)

Comment 6 errata-xmlrpc 2018-02-21 12:25:11 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.3 for RHEL 7

Via RHSA-2018:0336 https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.