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
Alias: CVE-2016-8639
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1399317 1399319
Blocks: 1391526 1432306
TreeView+ depends on / blocked
Reported: 2016-11-09 09:47 UTC by Andrej Nemec
Modified: 2021-02-17 03:03 UTC (History)
10 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.
Clone Of:
Last Closed: 2020-08-11 14:04:43 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0336 0 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:


Upstream patch:


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

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.